[llvm] [LV][EVL]Support reversed loads/stores. (PR #88025)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Fri May 3 01:44:58 PDT 2024


================
@@ -9417,7 +9423,12 @@ void VPWidenLoadEVLRecipe::execute(VPTransformState &State) {
   NewLI->addParamAttr(
       0, Attribute::getWithAlignment(NewLI->getContext(), Alignment));
   State.addMetadata(NewLI, LI);
-  State.set(this, NewLI, 0);
+  Instruction *Res = NewLI;
+  if (isReverse())
----------------
fhahn wrote:

nit: braces for multi-line body

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


More information about the llvm-commits mailing list