[llvm] [AVR] Set mayLoad/mayStore flags of some load/store instructions (PR #172986)
Patryk Wychowaniec via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 22 08:09:37 PST 2025
================
@@ -984,20 +986,23 @@ let canFoldAsLoad = 1, isReMaterializable = 1 in {
// The pseudo expansion pass trivially expands this into LDDWRdPtrQ.
//
// This instruction may be removed once PR13375 is fixed.
- let mayLoad = 1, hasSideEffects = 0 in
+ let hasSideEffects = 0 in
----------------
Patryk27 wrote:
would be nice to mark all instructions appropriately (hasSideEffects = 0/1), this seems to be what e.g. RISC-V is doing
https://github.com/llvm/llvm-project/pull/172986
More information about the llvm-commits
mailing list