diff options
| author | Chris Lattner <sabre@nondot.org> | 2008-07-18 05:23:39 +0000 | 
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2008-07-18 05:23:39 +0000 | 
| commit | eee1f57ceabb07224dce905c9370e1f1135581c3 (patch) | |
| tree | 3e1d7dc2492a32d2a875bed542b046e829ce6a11 /llvm/lib/VMCore/Verifier.cpp | |
| parent | 072429320a94ca2dcda9567fbcd021a0168836d4 (diff) | |
| download | bcm5719-llvm-eee1f57ceabb07224dce905c9370e1f1135581c3.tar.gz bcm5719-llvm-eee1f57ceabb07224dce905c9370e1f1135581c3.zip | |
verify limits-fndefn.c from the GCC testsuite before the
heat death of the universe, fixing an O(N^2) problem in the
size of a basic block.
llvm-svn: 53749
Diffstat (limited to 'llvm/lib/VMCore/Verifier.cpp')
| -rw-r--r-- | llvm/lib/VMCore/Verifier.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/llvm/lib/VMCore/Verifier.cpp b/llvm/lib/VMCore/Verifier.cpp index 4ff2447621e..79c24f334cf 100644 --- a/llvm/lib/VMCore/Verifier.cpp +++ b/llvm/lib/VMCore/Verifier.cpp @@ -1239,7 +1239,7 @@ void Verifier::visitInstruction(Instruction &I) {          }          // Definition must dominate use unless use is unreachable! -        Assert2(DT->dominates(Op, &I) || +        Assert2(InstsInThisBlock.count(Op) || DT->dominates(Op, &I) ||                  !DT->dominates(&BB->getParent()->getEntryBlock(), BB),                  "Instruction does not dominate all uses!", Op, &I);        } else { | 

