summaryrefslogtreecommitdiff
path: root/lib/CodeGen/EarlyIfConversion.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-07-30 20:57:50 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-07-30 20:57:50 +0000
commitef6c76c984f821ea866902a7f9e695b16e971468 (patch)
tree84c5842d32a3ab92f56ff1b6982ea46e4f4d0ea6 /lib/CodeGen/EarlyIfConversion.cpp
parent32ecfb41585d377c25c30aa4260cf007c1b0d5ce (diff)
downloadllvm-ef6c76c984f821ea866902a7f9e695b16e971468.tar.gz
llvm-ef6c76c984f821ea866902a7f9e695b16e971468.tar.bz2
llvm-ef6c76c984f821ea866902a7f9e695b16e971468.tar.xz
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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/EarlyIfConversion.cpp b/lib/CodeGen/EarlyIfConversion.cpp
index f5cf107de7..e49b9d3e18 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.