[llvm] [NFC][LoopVectorize] Clean up some code around getting a context (PR #111114)
David Sherwood via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 7 01:24:57 PDT 2024
================
@@ -8738,10 +8736,9 @@ addUsersInExitBlock(VPlan &Plan,
if (V->isLiveIn())
continue;
- VPValue *Ext = B.createNaryOp(
- VPInstruction::ExtractFromEnd,
- {V, Plan.getOrAddLiveIn(ConstantInt::get(
- IntegerType::get(ExitBB->getContext(), 32), 1))});
+ VPValue *Ext = B.createNaryOp(VPInstruction::ExtractFromEnd,
----------------
david-arm wrote:
Yep, good suggestion!
https://github.com/llvm/llvm-project/pull/111114
More information about the llvm-commits
mailing list