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 481a0cb commit 6988f4dCopy full SHA for 6988f4d
llvm/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
@@ -1103,7 +1103,7 @@ bool SeparateConstOffsetFromGEP::splitGEP(GetElementPtrInst *GEP) {
1103
// TODO(jingyue): do some range analysis to keep as many inbounds as
1104
// possible. GEPs with inbounds are more friendly to alias analysis.
1105
// TODO(gep_nowrap): Preserve nuw at least.
1106
- auto NewGEPFlags = GEPNoWrapFlags::none();
+ GEPNoWrapFlags NewGEPFlags = GEPNoWrapFlags::none();
1107
GEP->setNoWrapFlags(GEPNoWrapFlags::none());
1108
1109
// Lowers a GEP to either GEPs with a single index or arithmetic operations.
0 commit comments