diff options
author | Owen Anderson <resistor@mac.com> | 2010-08-31 17:59:07 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2010-08-31 17:59:07 +0000 |
commit | 421cc4c9998e5ae1ebd643dfbd25771fe8462ec4 (patch) | |
tree | 89933b363d693ba02fd6c4d770d49a37dcc617f3 /lib/CodeGen/MachineFunction.cpp | |
parent | 85e75afc8e98f67a05a626f59af05252fb23416d (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112611 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions