Skip to content

Commit b51a97b

Browse files
committed
[VPlan] Handle SELECT in isSingleScalar.
1 parent 7cd3130 commit b51a97b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Transforms/Vectorize/VPlanUtils.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ inline bool isSingleScalar(const VPValue *VPV) {
4949
case Instruction::GetElementPtr:
5050
case Instruction::ICmp:
5151
case Instruction::FCmp:
52+
case Instruction::Select:
5253
case VPInstruction::Broadcast:
5354
case VPInstruction::PtrAdd:
5455
return true;

0 commit comments

Comments
 (0)