File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
llvm/include/llvm/Analysis Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -791,7 +791,12 @@ bool onlyUsedByLifetimeMarkers(const Value *V);
791791// / droppable instructions.
792792bool onlyUsedByLifetimeMarkersOrDroppableInsts (const Value *V);
793793
794- // / Return true if the instruction doesn't potentially cross vector lanes.
794+ // / Return true if the instruction doesn't potentially cross vector lanes. This
795+ // / condition is weaker than checking that the instruction is lanewise: lanewise
796+ // / means that the same operation is splatted across all lanes, but we also
797+ // / include the case where there is a different operation on each lane, as long
798+ // / as the operation only uses data from that lane. An example of an operation
799+ // / that is not lanewise, but doesn't cross vector lanes is insertelement.
795800bool isNotCrossLaneOperation (const Instruction *I);
796801
797802// / Return true if the instruction does not have any effects besides
You can’t perform that action at this time.
0 commit comments