mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
[OpenMP] Fix unused variable
This commit is contained in:
parent
d2e05a881f
commit
aee66e3ccd
@ -753,8 +753,8 @@ OpenMPIRBuilder::InsertPointTy OpenMPIRBuilder::EmitOMPInlinedRegion(
|
||||
|
||||
// If we are skipping the region of a non conditional, remove the exit
|
||||
// block, and clear the builder's insertion point.
|
||||
BasicBlock *IPBB = SplitPos->getParent();
|
||||
assert(IPBB == ExitBB && "Unexpected Insertion point location!");
|
||||
assert(SplitPos->getParent() == ExitBB &&
|
||||
"Unexpected Insertion point location!");
|
||||
if (!Conditional && SkipEmittingRegion) {
|
||||
ExitBB->eraseFromParent();
|
||||
Builder.ClearInsertionPoint();
|
||||
|
Loading…
x
Reference in New Issue
Block a user