[llvm] [LoongArch] Add patterns for vstelm instructions (PR #139201)
Lu Weining via llvm-commits
llvm-commits at lists.llvm.org
Thu May 15 06:04:11 PDT 2025
================
@@ -140,7 +140,36 @@ bool LoongArchRegisterInfo::eliminateFrameIndex(MachineBasicBlock::iterator II,
bool FrameRegIsKill = false;
- if (!isInt<12>(Offset.getFixed())) {
+ int fixed_offset = Offset.getFixed();
+ bool OffsetLegal = false;
+
+ // Handle offsets that exceed the immediate range of the instruction
----------------
SixWeining wrote:
```suggestion
// Handle offsets that exceed the immediate range of the instruction.
```
https://github.com/llvm/llvm-project/pull/139201
More information about the llvm-commits
mailing list