1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/test/Transforms/JumpThreading
Owen Anderson e4af4b10f1 Add a micro-test for the transforms I added to JumpThreading.
I have not been able to find a way to test each in isolation, for a few reasons:
1) The ability to look-through non-i1 BinaryOperator's requires the ability to look through non-constant
   ICmps in order for it to ever trigger.
2) The ability to do LVI-powered PHI value determination only matters in cases that ProcessBranchOnPHI
   can't handle.  Since it already handles all the cases without other instructions in the def-use chain
   between the PHI and the branch, it requires the ability to look through ICmps and/or BinaryOperators
   as well.

llvm-svn: 112611
2010-08-31 17:59:07 +00:00
..
2008-11-27-EntryMunge.ll
2010-08-26-and.ll Make JumpThreading smart enough to properly thread StrSwitch when it's compiled with clang++. 2010-08-26 17:40:24 +00:00
2010-08-31-InfiniteRecursion.ll More Chris-inspired JumpThreading fixes: use ConstantExpr to correctly constant-fold undef, and be more careful with its return value. 2010-08-31 07:36:34 +00:00
and-and-cond.ll
and-cond.ll
basic.ll Add a micro-test for the transforms I added to JumpThreading. 2010-08-31 17:59:07 +00:00
branch-no-const.ll
compare.ll
crash.ll Fix PR7755: knowing something about an inval for a pred 2010-08-18 03:14:36 +00:00
dg.exp
lvi-load.ll Use LVI to eliminate conditional branches where we've tested a related condition previously. Update tests for this change. 2010-08-27 17:12:29 +00:00
no-irreducible-loops.ll
or-undef.ll Make jump threading honor x|undef -> true and x&undef -> false, 2010-02-11 04:40:44 +00:00
thread-loads.ll