[llvm] [VPlan] Replace ExtractFromEnd with Extract(Last|Penultimate)Lane (NFC). (PR #137030)

via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 23 16:01:14 PDT 2025


================
@@ -1143,12 +1147,7 @@ void VPIRInstruction::extractLastLaneOfOperand(VPBuilder &Builder) {
   assert(getNumOperands() == 1 && "must have a single operand");
   VPValue *Exiting = getOperand(0);
   if (!Exiting->isLiveIn()) {
----------------
ayalz wrote:

```suggestion
  if (Exiting->isLiveIn())
    return;
```

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


More information about the llvm-commits mailing list