[PATCH] D121654: [RISCV] Ensure PseudoLA* can be hoisted

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 14 23:49:06 PDT 2022


MaskRay accepted this revision.
MaskRay added inline comments.
This revision is now accepted and ready to land.


================
Comment at: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:3762
+        MachineMemOperand::MOLoad | MachineMemOperand::MODereferenceable |
+            MachineMemOperand::MOInvariant,
+        LLT(Ty.getSimpleVT()), Align(Ty.getFixedSizeInBits() / 8));
----------------
Is it possible to construct a test that will compile to inferior assembly if `MOInvariant` is unset?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D121654/new/

https://reviews.llvm.org/D121654



More information about the llvm-commits mailing list