[PATCH] D98101: [RISCV] Enable the LocalStackSlotAllocation pass support
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 5 12:49:28 PST 2023
craig.topper added a comment.
It looks like maybe we're somehow load/stores with negative immediates that are supposed to be large positive immediates.
For example,
I see s9 pointing to sp+2152. A store that is supposed to be accessing sp+4288 was created with s9-1960. If we consider that -1960 as a uimm12 it would be +2136. 2152+2136 is the 4288 we were after.
This is backed up by running -verify-machineinstrs which generates a ton of errors about immediates that are uimm12 instead of simm12.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D98101/new/
https://reviews.llvm.org/D98101
More information about the llvm-commits
mailing list