[PATCH] D133787: [AMDGPU][SILoadStoreOptimizer] Merge SGPR_IMM scalar buffer loads.
Stanislav Mekhanoshin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 13 13:34:18 PDT 2022
rampitec added inline comments.
================
Comment at: llvm/test/CodeGen/AMDGPU/merge-sbuffer-load.mir:136
+# CHECK: S_BUFFER_LOAD_DWORDX4_SGPR %0, %1, 0 :: (dereferenceable invariant load (s128), align 4)
+name: merge_s_buffer_load_sgpr_imm
+tracksRegLiveness: true
----------------
Add couple negative tests maybe, one with different sgprs used and one with non-adjacent offsets?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D133787/new/
https://reviews.llvm.org/D133787
More information about the llvm-commits
mailing list