We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57effbd commit cf3b555Copy full SHA for cf3b555
llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
@@ -924,7 +924,11 @@ bool LoopVectorizationLegality::canVectorizeWithIfConvert() {
924
925
assert(TheLoop->getNumBlocks() > 1 && "Single block loops are vectorizable");
926
927
- // A list of pointers that we can safely read and write to.
+ // A list of pointers which are known to be dereferenceable within scope of
928
+ // the loop body for each iteration of the loop which executes. That is,
929
+ // the memory pointed to can be dereferenced (with the access size implied by
930
+ // the value's type) unconditionally within the loop header without
931
+ // introducing a new fault.
932
SmallPtrSet<Value *, 8> SafePointes;
933
934
// Collect safe addresses.
0 commit comments