Skip to content

Commit 6256509

Browse files
committed
Revert "[HLSL] Fix build warning after llvm#116331 (llvm#121852)"
This reverts commit 1a435fe.
1 parent 72b6a57 commit 6256509

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

clang/lib/CodeGen/CodeGenFunction.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2102,10 +2102,7 @@ void CodeGenFunction::EmitBranchOnBoolExpr(
21022102
MDHelper.createConstant(BranchHintConstant)});
21032103
BrInst->setMetadata("hlsl.controlflow.hint",
21042104
llvm::MDNode::get(CGM.getLLVMContext(), Vals));
2105-
break;
2106-
}
2107-
case HLSLControlFlowHintAttr::SpellingNotCalculated:
2108-
break;
2105+
} break;
21092106
}
21102107
}
21112108

0 commit comments

Comments
 (0)