diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-07-30 20:57:50 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-07-30 20:57:50 +0000 |
commit | ef6c76c984f821ea866902a7f9e695b16e971468 (patch) | |
tree | 84c5842d32a3ab92f56ff1b6982ea46e4f4d0ea6 /lib/CodeGen/EarlyIfConversion.cpp | |
parent | 32ecfb41585d377c25c30aa4260cf007c1b0d5ce (diff) | |
download | external_llvm-ef6c76c984f821ea866902a7f9e695b16e971468.zip external_llvm-ef6c76c984f821ea866902a7f9e695b16e971468.tar.gz external_llvm-ef6c76c984f821ea866902a7f9e695b16e971468.tar.bz2 |
Hook into PassManager's analysis verification.
By overriding Pass::verifyAnalysis(), the pass contents will be verified
by the pass manager.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160994 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/EarlyIfConversion.cpp')
-rw-r--r-- | lib/CodeGen/EarlyIfConversion.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/EarlyIfConversion.cpp b/lib/CodeGen/EarlyIfConversion.cpp index f5cf107..e49b9d3 100644 --- a/lib/CodeGen/EarlyIfConversion.cpp +++ b/lib/CodeGen/EarlyIfConversion.cpp @@ -586,13 +586,13 @@ void EarlyIfConverter::updateLoops(ArrayRef<MachineBasicBlock*> Removed) { /// Invalidate MachineTraceMetrics before if-conversion. void EarlyIfConverter::invalidateTraces() { - Traces->verify(); + Traces->verifyAnalysis(); Traces->invalidate(IfConv.Head); Traces->invalidate(IfConv.Tail); Traces->invalidate(IfConv.TBB); Traces->invalidate(IfConv.FBB); DEBUG(if (MinInstr) MinInstr->print(dbgs())); - Traces->verify(); + Traces->verifyAnalysis(); } /// Apply cost model and heuristics to the if-conversion in IfConv. |