[llvm] AMDGPU: Return legal addressmode correctly for flat scratch (PR #71494)

via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 8 22:42:40 PST 2023


================
@@ -1357,6 +1357,13 @@ bool SITargetLowering::isLegalGlobalAddressingMode(const AddrMode &AM) const {
   return isLegalMUBUFAddressingMode(AM);
 }
 
+bool SITargetLowering::isLegalFlatScratchAddressingMode(
----------------
ruiling wrote:

Done in the latest commit.

https://github.com/llvm/llvm-project/pull/71494


More information about the llvm-commits mailing list