[llvm] [AMDGPU][True16][CodeGen] true16 codegen for bswap (PR #122849)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 14 04:51:30 PST 2025
================
@@ -3039,6 +3041,19 @@ def : GCNPat <
(i32 (zext (bswap i16:$a))),
(V_PERM_B32_e64 (i32 0), VSrc_b32:$a, (S_MOV_B32 (i32 0x0c0c0001)))
>;
+}
+
+let True16Predicate = UseRealTrue16Insts in {
----------------
arsenm wrote:
I assume UseRealTrue16Insts implies has perm
https://github.com/llvm/llvm-project/pull/122849
More information about the llvm-commits
mailing list