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 b4017d8 commit 5307040Copy full SHA for 5307040
llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
@@ -1090,7 +1090,7 @@ void State::addInfoFor(BasicBlock &BB) {
1090
bool GuaranteedToExecute = true;
1091
// Queue conditions and assumes.
1092
for (Instruction &I : BB) {
1093
- if (auto Cmp = dyn_cast<ICmpInst>(&I)) {
+ if (auto *Cmp = dyn_cast<ICmpInst>(&I)) {
1094
for (Use &U : Cmp->uses()) {
1095
auto *UserI = getContextInstForUse(U);
1096
auto *DTN = DT.getNode(UserI->getParent());
0 commit comments