Use LVI to eliminate conditional branches where we've tested a related...
Use LVI to eliminate conditional branches where we've tested a related condition previously. Update tests for this change. This fixes PR5652. llvm-svn: 112270
Showing
- llvm/lib/Analysis/LazyValueInfo.cpp 2 additions, 1 deletionllvm/lib/Analysis/LazyValueInfo.cpp
- llvm/lib/Transforms/Scalar/JumpThreading.cpp 39 additions, 0 deletionsllvm/lib/Transforms/Scalar/JumpThreading.cpp
- llvm/test/Transforms/JumpThreading/basic.ll 10 additions, 4 deletionsllvm/test/Transforms/JumpThreading/basic.ll
- llvm/test/Transforms/JumpThreading/lvi-load.ll 2 additions, 1 deletionllvm/test/Transforms/JumpThreading/lvi-load.ll
Loading
Please register or sign in to comment