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 65d3548 commit 3c9236cCopy full SHA for 3c9236c
llvm/lib/Transforms/Scalar/LoopVersioningLICM.cpp
@@ -266,6 +266,11 @@ bool LoopVersioningLICM::legalLoopMemoryAccesses() {
266
for (const auto &A : AS) {
267
Value *Ptr = A.getValue();
268
// Alias tracker should have pointers of same data type.
269
+ //
270
+ // FIXME: check no longer effective since opaque pointers?
271
+ // If the intent is to check that the memory accesses use the
272
+ // same data type (such that LICM can promote them), then we
273
+ // can no longer see this from the pointer value types.
274
TypeCheck = (TypeCheck && (SomePtr->getType() == Ptr->getType()));
275
}
276
// At least one alias tracker should have pointers of same data type.
0 commit comments