[llvm-branch-commits] [llvm] [VPlan] Explicitly handle scalar pointer inductions. (PR #80273)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Feb 5 07:31:44 PST 2024


================
@@ -540,6 +560,7 @@ bool VPInstruction::onlyFirstLaneUsed(const VPValue *Op) const {
   default:
     return false;
   case Instruction::ICmp:
+  case VPInstruction::PtrAdd:
     // TODO: Cover additional opcodes.
----------------
ayalz wrote:

nit: better place this TODO under default?

https://github.com/llvm/llvm-project/pull/80273


More information about the llvm-branch-commits mailing list