[PATCH] D127115: [RFC][DAGCombine] Make sure combined nodes are added back to the worklist in topological order.
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 7 08:53:07 PDT 2022
foad added inline comments.
================
Comment at: llvm/test/CodeGen/AMDGPU/vector_shuffle.packed.ll:1210-1214
+; GFX9-NEXT: v_and_b32_e32 v2, 0xffff, v0
+; GFX9-NEXT: v_lshrrev_b32_e32 v0, 16, v0
+; GFX9-NEXT: v_and_b32_e32 v3, 0xffff, v1
+; GFX9-NEXT: v_lshl_or_b32 v0, v0, 16, v2
+; GFX9-NEXT: v_lshl_or_b32 v1, v1, 16, v3
----------------
This regression can be fixed by implementing SITargetLowering::isExtractSubvectorCheap, copying the logic from the AArch64 implementation.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D127115/new/
https://reviews.llvm.org/D127115
More information about the llvm-commits
mailing list