[llvm] [AMDGPU] Folding imm offset in more cases for scratch access (PR #70634)

via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 7 06:29:35 PST 2023


================
@@ -1839,6 +1883,7 @@ bool AMDGPUDAGToDAGISel::SelectScratchSVAddr(SDNode *N, SDValue Addr,
   int64_t ImmOffset = 0;
 
   SDValue LHS, RHS;
+  SDValue FullAddr = Addr;
----------------
ruiling wrote:

Sure, will remove all the uses of the `full` and `part` uses. Thanks!

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


More information about the llvm-commits mailing list