llvm/test/CodeGen
Benjamin Kramer f43438b6c3 X86: Emit test instead of constant shift + compare if the shift result is unused.
This allows us to compile
  return (mask & 0x8 ? a : b);
into
  testb $8, %dil
  cmovnel %edx, %esi
instead of
  andl  $8, %edi
  shrl  $3, %edi
  cmovnel %edx, %esi

which we formed previously because dag combiner canonicalizes setcc of and into shift.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207088 91177308-0d34-0410-b5e6-96231b3b80d8
2014-04-24 08:15:31 +00:00
..
AArch64 AArch64/ARM64: more testing from AArch64 to ARM64 2014-04-22 12:45:47 +00:00
ARM Fix test/CodeGen/arm.ll 2014-04-23 01:09:29 +00:00
ARM64 [ARM64] Fix the information we give to the peephole optimizer for comparison. 2014-04-23 20:43:38 +00:00
CPP
Generic MC: move test from Generic to COFF 2014-04-23 21:41:07 +00:00
Hexagon
Inputs
Mips [mips] Add initial support for NaN2008 in the back-end. 2014-04-16 15:48:55 +00:00
MSP430 Mark FPB as a reserved register when needed. 2014-04-02 13:13:56 +00:00
NVPTX Fix the test: DCE optimized away everything. 2014-04-21 17:23:12 +00:00
PowerPC [PowerPC] Fix rlwimi isel when mask is not constant 2014-04-13 17:10:58 +00:00
R600 R600: Add a test that used to be broken that I forgot to add 2014-04-23 19:45:05 +00:00
SPARC Revert "blockfreq: Temporarily turn on -debug-only=block-freq" 2014-04-19 22:45:44 +00:00
SystemZ Reenable use of TBAA during CodeGen 2014-04-12 01:26:00 +00:00
Thumb Make this test not match its own filename, when being run from a path that includes the string 'add'. 2014-04-15 22:29:32 +00:00
Thumb2 Move the segmented stack switch to a function attribute 2014-04-10 22:58:43 +00:00
X86 X86: Emit test instead of constant shift + compare if the shift result is unused. 2014-04-24 08:15:31 +00:00
XCore Reapply "blockfreq: Rewrite BlockFrequencyInfoImpl" 2014-04-21 17:57:07 +00:00