[llvm] [LV] Add support for speculative loads in loops that may fault (PR #151300)

Alexey Bataev via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 30 06:05:41 PDT 2025


================
@@ -7732,6 +7741,7 @@ VPRecipeBuilder::tryToWidenMemory(Instruction *I, ArrayRef<VPValue *> Operands,
       Reverse || Decision == LoopVectorizationCostModel::CM_Widen;
 
   VPValue *Ptr = isa<LoadInst>(I) ? Operands[0] : Operands[1];
+
----------------
alexey-bataev wrote:

Restore

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


More information about the llvm-commits mailing list