Skip to content

Commit 9f442f0

Browse files
committed
Address review comment
1 parent b0c8a84 commit 9f442f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -886,10 +886,10 @@ bool VPInstruction::onlyFirstLaneUsed(const VPValue *Op) const {
886886
switch (getOpcode()) {
887887
default:
888888
return false;
889-
case Instruction::PHI:
890-
return true;
891889
case Instruction::ExtractElement:
892890
return Op == getOperand(1);
891+
case Instruction::PHI:
892+
return true;
893893
case Instruction::ICmp:
894894
case Instruction::Select:
895895
case Instruction::Or:

0 commit comments

Comments
 (0)