[llvm] [AMDGPU][True16][MC] true16 for v_alignbit_b32 (PR #119409)
Brox Chen via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 2 15:01:13 PST 2025
================
@@ -3003,6 +3060,40 @@ def : GCNPat <
sub1)
>;
+let True16Predicate = UseFakeTrue16Insts in
+def : GCNPat <
+ (i64 (bswap i64:$a)),
+ (REG_SEQUENCE VReg_64,
+ (V_BFI_B32_e64 (S_MOV_B32 (i32 0x00ff00ff)),
----------------
broxigarchen wrote:
Hi Matt. Yes I think for the SrcMod I can merge then into an `if`. But I am not sure if there is a way to handle `hasClamp` and `hasOpSel`?. The logical is something like `!if(hasClamp, 0, )`
https://github.com/llvm/llvm-project/pull/119409
More information about the llvm-commits
mailing list