llvm/test/CodeGen/SPARC
Hans Wennborg 04d7d13d30 Use TargetTransformInfo to control switch-to-lookup table transformation
When the switch-to-lookup tables transform landed in SimplifyCFG, it
was pointed out that this could be inappropriate for some targets.
Since there was no way at the time for the pass to know anything about
the target, an awkward reverse-transform was added in CodeGenPrepare
that turned lookup tables back into switches for some targets.

This patch uses the new TargetTransformInfo to determine if a
switch should be transformed, and removes
CodeGenPrepare::ConvertLoadToSwitch.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167011 91177308-0d34-0410-b5e6-96231b3b80d8
2012-10-30 11:23:25 +00:00
..
2006-01-22-BitConvertLegalize.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
2007-05-09-JumpTables.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
2007-07-05-LiveIntervalAssert.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
2008-10-10-InlineAsmMemoryOperand.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
2008-10-10-InlineAsmRegOperand.ll Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
2009-08-28-PIC.ll Eliminate some redundant llvm-as calls. 2009-10-12 09:31:55 +00:00
2009-08-28-WeakLinkage.ll Eliminate some redundant llvm-as calls. 2009-10-12 09:31:55 +00:00
2010-04-07-DbgValueOtherTargets.ll If dbg_declare() or dbg_value() is not lowered by isel then emit DEBUG message instead of creating DBG_VALUE for undefined value in reg0. 2010-12-06 22:39:26 +00:00
2011-01-11-Call.ll Fix SPARC backend call instruction so that arguments passed through registers 2011-01-12 03:18:21 +00:00
2011-01-11-CC.ll Fix broken tests. 2012-10-02 15:49:34 +00:00
2011-01-11-FrameAddr.ll These tests no longer require linear scan because reserved register coalescing is now universal. 2011-04-05 21:40:41 +00:00
2011-01-19-DelaySlot.ll Generate correct Sparc32 ABI compliant code for functions that return a struct. 2011-02-21 03:42:44 +00:00
2011-01-21-ByValArgs.ll Implement support for byval arguments in Sparc backend. 2011-01-21 14:00:01 +00:00
2011-01-22-SRet.ll Fix more register and coalescing dependencies. 2011-05-04 19:02:11 +00:00
2011-12-03-TailDuplication.ll Sparc CodeGen: Fix AnalyzeBranch for PR 10282. Removing addSuccessor() since 2011-12-03 21:24:48 +00:00
2012-05-01-LowerArguments.ll Regression test for PR2960. 2012-05-01 11:11:34 +00:00
basictest.ll filecheckize 2010-11-23 02:26:52 +00:00
ctpop.ll add support for the sparcv9-*-* target triple to turn on 2010-02-04 06:34:01 +00:00
lit.local.cfg Continue cleanup of LIT, getting rid of the remaining artifacts from dejagnu 2012-03-25 09:02:19 +00:00
mult-alt-generic-sparc.ll Inline asm mult-alt constraint tests. 2010-11-02 23:01:44 +00:00
private.ll test/CodeGen/SPARC/private.ll: Fixup. Forgot to prune old RUN lines. 2012-07-03 04:29:20 +00:00