[llvm] AMDGPU: Use HasFP8ConversionInsts appropriately, NFC (PR #82024)

Changpeng Fang via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 19 11:03:11 PST 2024


================
@@ -898,7 +898,7 @@ multiclass VOP1_Real_NO_DPP_OP_SEL_with_name<GFXGen Gen, bits<9> op,
   VOP1_Real_e32_with_name<Gen, op, opName, asmName>,
   VOP3_Real_with_name<Gen, {0, 1, 1, op{6-0}}, opName, asmName>;
 
-
+let OtherPredicates = [HasFP8ConversionInsts] in {
----------------
changpeng wrote:

> Was thinking about adding `True16Predicate` as well. #82245 attempts to implement that.

Can you explain why listconcat does not work for OtherPredicates to add an additional predicate?
I think it should work, and we don;t have to introduce a new predicate.

https://github.com/llvm/llvm-project/pull/82024


More information about the llvm-commits mailing list