llvm-6502/test/CodeGen
Quentin Colombet e644b7743b Fix a bug in IfConverter with nested predicates.
Prior to this patch, IfConverter may widen the cases where a sequence of
instructions were executed because of the way it uses nested predicates. This
result in incorrect execution.

For instance, Let A be a basic block that flows conditionally into B and B be a
predicated block.
B can be predicated with A.BrToBPredicate into A iff B.Predicate is less
"permissive" than A.BrToBPredicate, i.e., iff A.BrToBPredicate subsumes
B.Predicate.

The IfConverter was checking the opposite: B.Predicate subsumes
A.BrToBPredicate.

<rdar://problem/14379453>


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187071 91177308-0d34-0410-b5e6-96231b3b80d8
2013-07-24 20:20:37 +00:00
..
AArch64
ARM Fix a bug in IfConverter with nested predicates. 2013-07-24 20:20:37 +00:00
CPP
Generic
Hexagon Debug Info: improve the Finder. 2013-07-24 17:10:09 +00:00
Inputs
MBlaze
Mips
MSP430
NVPTX [NVPTX] Use approximate FP ops when unsafe-fp-math is used, and append 2013-07-22 12:18:04 +00:00
PowerPC Debug Info: improve the Finder. 2013-07-24 17:10:09 +00:00
R600 DAGCombiner: Pass the correct type to TargetLowering::isF(Abs|Neg)Free 2013-07-23 23:55:03 +00:00
SI
SPARC Update to more CodeGen tests to use CHECK-LABEL for labels corresponding to function definitions for more informative error messages. No functionality change. 2013-07-18 22:47:09 +00:00
SystemZ [SystemZ] Add tests for ALHSIK and ALGHSIK 2013-07-19 16:44:32 +00:00
Thumb Debug Info: improve the Finder. 2013-07-24 17:10:09 +00:00
Thumb2 Refactor AnalyzeBranch on ARM. The previous version did not always analyze 2013-07-19 23:52:47 +00:00
X86 Debug Info: improve the Finder. 2013-07-24 17:10:09 +00:00
XCore Disambiguate function names in some CodeGen tests. (Some tests were using function names that also were names of instructions and/or doing other unusual things that were making the test not amenable to otherwise scriptable pattern matching.) No functionality change. 2013-07-18 22:29:15 +00:00