diff options
| author | Chris Lattner <sabre@nondot.org> | 2010-09-05 20:10:47 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2010-09-05 20:10:47 +0000 |
| commit | e6214557e75c6c3109ec83a6e926b27f807452e6 (patch) | |
| tree | ce186465b5df0f9530dbe3c2405ff2db71aca5e3 /llvm/lib/Transforms/Scalar/JumpThreading.cpp | |
| parent | 05ef361b5e356e8832ae95b657f24d1a70b739e6 (diff) | |
| download | llvm-e6214557e75c6c3109ec83a6e926b27f807452e6.zip llvm-e6214557e75c6c3109ec83a6e926b27f807452e6.tar.gz llvm-e6214557e75c6c3109ec83a6e926b27f807452e6.tar.bz2 | |
Change lower atomic pass to use IntrinsicInst to simplify it a bit.
llvm-svn: 113114
Diffstat (limited to 'llvm/lib/Transforms/Scalar/JumpThreading.cpp')
| -rw-r--r-- | llvm/lib/Transforms/Scalar/JumpThreading.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/llvm/lib/Transforms/Scalar/JumpThreading.cpp b/llvm/lib/Transforms/Scalar/JumpThreading.cpp index da0e216..63a74f8 100644 --- a/llvm/lib/Transforms/Scalar/JumpThreading.cpp +++ b/llvm/lib/Transforms/Scalar/JumpThreading.cpp @@ -726,10 +726,9 @@ bool JumpThreading::ProcessBlock(BasicBlock *BB) { if (Baseline != LazyValueInfo::Unknown) { // Check that all remaining incoming values match the first one. while (++PI != PE) { - LazyValueInfo::Tristate Ret = LVI->getPredicateOnEdge( - CondCmp->getPredicate(), - CondCmp->getOperand(0), - CondConst, *PI, BB); + LazyValueInfo::Tristate Ret = + LVI->getPredicateOnEdge(CondCmp->getPredicate(), + CondCmp->getOperand(0), CondConst, *PI, BB); if (Ret != Baseline) break; } |
