llvm-6502/test/CodeGen
Daniel Jasper 058309ba87 Re-apply r234898 and fix tests.
This commit makes LLVM not estimate branch probabilities when doing a
single bit bitmask tests.

The code that originally made me discover this is:

  if ((a & 0x1) == 0x1) {
    ..
  }

In this case we don't actually have any branch probability information
and should not assume to have any. LLVM transforms this into:

  %and = and i32 %a, 1
  %tobool = icmp eq i32 %and, 0

So, in this case, the result of a bitwise and is compared against 0,
but nevertheless, we should not assume to have probability
information.

CodeGen/ARM/2013-10-11-select-stalls.ll started failing because the
changed probabilities changed the results of
ARMBaseInstrInfo::isProfitableToIfCvt() and led to an Ifcvt of the
diamond in the test. AFAICT, the test was never meant to test this and
thus changing the test input slightly to not change the probabilities
seems like the best way to preserve the meaning of the test.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234979 91177308-0d34-0410-b5e6-96231b3b80d8
2015-04-15 06:24:07 +00:00
..
AArch64 Re-apply r234898 and fix tests. 2015-04-15 06:24:07 +00:00
ARM Re-apply r234898 and fix tests. 2015-04-15 06:24:07 +00:00
BPF
CPP
Generic
Hexagon Revert revisions r234755, r234759, r234760 2015-04-13 17:47:15 +00:00
Inputs
Mips Re-apply r234898 and fix tests. 2015-04-15 06:24:07 +00:00
MSP430
NVPTX Revert revisions r234755, r234759, r234760 2015-04-13 17:47:15 +00:00
PowerPC [PowerPC] Really iterate over all loops in PPCLoopDataPrefetch/PPCLoopPreIncPrep 2015-04-12 17:18:56 +00:00
R600 R600/SI: Fix verifier error caused by SIAnnotateControlFlow 2015-04-14 14:36:45 +00:00
SPARC
SystemZ Allow memory intrinsics to be tail calls 2015-04-13 17:16:45 +00:00
Thumb
Thumb2 [ARM] support for Cortex-R4/R4F 2015-04-09 14:07:28 +00:00
WinEH [WinEH] Avoid emitting xdata tables twice for cleanups 2015-04-14 21:42:36 +00:00
X86 Change the testcase mtriple to x86_64-unknown-unknown 2015-04-14 15:28:42 +00:00
XCore