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 | ada06237251ccd647903dabeace196d2ca220d60 (patch) | |
tree | 2cad568d7984ed1522219ba771a670eec4a525f5 /clang/lib/Serialization/ASTWriterStmt.cpp | |
parent | ad9b6de3b6245263a097b770110a2a1af58c6b22 (diff) | |
download | bcm5719-llvm-ada06237251ccd647903dabeace196d2ca220d60.tar.gz bcm5719-llvm-ada06237251ccd647903dabeace196d2ca220d60.zip |
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
Diffstat (limited to 'clang/lib/Serialization/ASTWriterStmt.cpp')
0 files changed, 0 insertions, 0 deletions