[llvm] [AMDGPU] Remove VT helpers isFloatType, isPackedType, simplify isIntType (PR #77987)
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 15 02:53:19 PST 2024
================
@@ -535,7 +535,7 @@ multiclass FLAT_Atomic_Pseudo_NO_RTN<
ValueType vt,
ValueType data_vt = vt,
RegisterClass data_rc = vdst_rc,
- bit isFP = isFloatType<data_vt>.ret,
+ bit isFP = data_vt.isFP,
----------------
jayfoad wrote:
Can this be folded into its only use? Or if not, it should be a defvar instead of an argument. Same for the other instances in this file.
https://github.com/llvm/llvm-project/pull/77987
More information about the llvm-commits
mailing list