[llvm] [AMDGPU] Stop combining arbitrary offsets into PAL relocs (PR #80034)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 31 01:45:57 PST 2024
================
@@ -7133,6 +7133,17 @@ SDValue SITargetLowering::lowerBUILD_VECTOR(SDValue Op,
bool
SITargetLowering::isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const {
+ // Subtargets that use ELF REL relocations (instead of RELA) can only store a
----------------
arsenm wrote:
The subtarget really shouldn't include this. It's the OS, which is top-level module/triple property
https://github.com/llvm/llvm-project/pull/80034
More information about the llvm-commits
mailing list