[llvm] [LoongArch] Return true from shouldConsiderGEPOffsetSplit (PR #88371)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 11 02:56:11 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-backend-loongarch
Author: wanglei (wangleiat)
<details>
<summary>Changes</summary>
Similar to commit 2e46312ffd16982f0e991c9434d4908b107f5260.
---
Full diff: https://github.com/llvm/llvm-project/pull/88371.diff
1 Files Affected:
- (modified) llvm/lib/Target/LoongArch/LoongArchISelLowering.h (+1)
``````````diff
diff --git a/llvm/lib/Target/LoongArch/LoongArchISelLowering.h b/llvm/lib/Target/LoongArch/LoongArchISelLowering.h
index 9e9ac0b8269291..4bb6c049f8d758 100644
--- a/llvm/lib/Target/LoongArch/LoongArchISelLowering.h
+++ b/llvm/lib/Target/LoongArch/LoongArchISelLowering.h
@@ -238,6 +238,7 @@ class LoongArchTargetLowering : public TargetLowering {
bool isShuffleMaskLegal(ArrayRef<int> Mask, EVT VT) const override {
return false;
}
+ bool shouldConsiderGEPOffsetSplit() const override { return true; }
private:
/// Target-specific function used to lower LoongArch calling conventions.
``````````
</details>
https://github.com/llvm/llvm-project/pull/88371
More information about the llvm-commits
mailing list