[PATCH] D140907: [GlobalISel] New combine to commute constant operands to the RHS

Thomas Symalla via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 5 03:07:00 PST 2023


tsymalla added inline comments.


================
Comment at: llvm/test/CodeGen/AMDGPU/GlobalISel/mul-known-bits.i64.ll:174
 ; GFX11-NEXT:    v_lshlrev_b32_e32 v0, 2, v0
+; GFX11-NEXT:    v_mov_b32_e32 v2, 0
 ; GFX11-NEXT:    s_waitcnt lgkmcnt(0)
----------------
foad wrote:
> tsymalla wrote:
> > Shouldn't this one be eliminated?
> Why? It's used by the global_store below.
Missed that one.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D140907/new/

https://reviews.llvm.org/D140907



More information about the llvm-commits mailing list