[PATCH] D108925: [AMDGPU] enable scalar compare in truncate selection
Alexander via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 31 07:33:22 PDT 2021
alex-t added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/SIInstructions.td:2112
+ (i1 (UniformUnaryFrag<trunc> i32:$a)),
+ (S_CMP_EQ_U32 (S_AND_B32 (i32 1), $a), (i32 1))
+>;
----------------
rampitec wrote:
> I think we can later fold it into
> ```
> s_bitcmp1_b32 $a, 0
> ```
For now, I would prefer to leave TODO here. Any objections?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D108925/new/
https://reviews.llvm.org/D108925
More information about the llvm-commits
mailing list