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 | a12a7d5f749fc1ac977c174f7cf8750ffe870778 (patch) | |
| tree | 922d9e3b78be20d4428e58c0a644438c7cec40fd /llvm/lib/CodeGen/EarlyIfConversion.cpp | |
| parent | b7f03c191c316472ab6fc07890fa26fe7f36941b (diff) | |
| download | bcm5719-llvm-a12a7d5f749fc1ac977c174f7cf8750ffe870778.tar.gz bcm5719-llvm-a12a7d5f749fc1ac977c174f7cf8750ffe870778.zip | |
Hook into PassManager's analysis verification.
By overriding Pass::verifyAnalysis(), the pass contents will be verified
by the pass manager.
llvm-svn: 160994
Diffstat (limited to 'llvm/lib/CodeGen/EarlyIfConversion.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/EarlyIfConversion.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/EarlyIfConversion.cpp b/llvm/lib/CodeGen/EarlyIfConversion.cpp index f5cf107de7e..e49b9d3e18e 100644 --- a/llvm/lib/CodeGen/EarlyIfConversion.cpp +++ b/llvm/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. |

