We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8dc33bb commit d40605dCopy full SHA for d40605d
clang/lib/CodeGen/CGStmt.cpp
@@ -1234,7 +1234,7 @@ void CodeGenFunction::EmitDoStmt(const DoStmt &S,
1234
// As long as the condition is true, iterate the loop.
1235
if (EmitBoolCondBranch) {
1236
uint64_t BackedgeCount = getProfileCount(S.getBody()) - ParentCount;
1237
- Builder.CreateCondBr(
+ auto *I = Builder.CreateCondBr(
1238
BoolCondVal, LoopBody, LoopFalse,
1239
createProfileWeightsForLoop(S.getCond(), BackedgeCount));
1240
0 commit comments