[PATCH] D87939: [PeepholeOptimizer] Enhance the redundant COPY elimination.
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 22 06:36:31 PDT 2020
arsenm accepted this revision.
arsenm added inline comments.
================
Comment at: llvm/test/CodeGen/AMDGPU/GlobalISel/extractelement.i128.ll:301
; GFX9-NEXT: s_load_dwordx16 s[0:15], s[2:3], 0x0
-; GFX9-NEXT: v_lshlrev_b32_e32 v2, 1, v0
-; GFX9-NEXT: v_cmp_eq_u32_e32 vcc, 1, v2
+; GFX9-NEXT: v_lshlrev_b32_e32 v0, 1, v0
+; GFX9-NEXT: v_cmp_eq_u32_e32 vcc, 1, v0
----------------
I'm surprised there are so many changes here, but I guess it's probably papering over a number of combines that are missing
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87939/new/
https://reviews.llvm.org/D87939
More information about the llvm-commits
mailing list