[PATCH] D58017: [DAG] Add SimplifyDemandedBits support for BSWAP/BITREVERSE

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 22 07:06:43 PST 2019


arsenm added inline comments.


================
Comment at: test/CodeGen/AMDGPU/bitreverse.ll:117-118
 ; FUNC-LABEL: {{^}}missing_truncate_promote_bitreverse:
-; VI: v_bfrev_b32_sdwa v0, v0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0
+; VI: v_bfrev_b32_e32 v0, v0
+; VI: v_cvt_f32_f16_sdwa v0, v0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1
 define float @missing_truncate_promote_bitreverse(i32 %arg) {
----------------
This increased the instruction count?


Repository:
  rL LLVM

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

https://reviews.llvm.org/D58017





More information about the llvm-commits mailing list