diff options
author | Nicolai Hähnle <nicolai.haehnle@amd.com> | 2016-04-11 10:40:12 -0500 |
---|---|---|
committer | Nicolai Hähnle <nicolai.haehnle@amd.com> | 2016-04-11 11:04:33 -0500 |
commit | 89a3dfb87e9ce4e00167aa6517fe8dd5c1a72582 (patch) | |
tree | 21fbfc8ef524ef60fbbdfa669a42986c264a6f2a | |
parent | 6ef34b28e8c736bbbe46e9acc917dd12606bcec9 (diff) |
Fixup if -> assertimages
-rw-r--r-- | lib/Target/AMDGPU/SIAnnotateControlFlow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/AMDGPU/SIAnnotateControlFlow.cpp b/lib/Target/AMDGPU/SIAnnotateControlFlow.cpp index c876690a9d6..460efc03751 100644 --- a/lib/Target/AMDGPU/SIAnnotateControlFlow.cpp +++ b/lib/Target/AMDGPU/SIAnnotateControlFlow.cpp @@ -345,7 +345,7 @@ void SIAnnotateControlFlow::handleLoop(BranchInst *Term) { void SIAnnotateControlFlow::closeControlFlow(BasicBlock *BB) { llvm::Loop *L = LI->getLoopFor(BB); - assert(Stack.back().first != BB); + assert(Stack.back().first == BB); if (L && L->getHeader() == BB) { // We can't insert an EndCF call into a loop header, because it will |