[llvm] [AMDGPU][NFC] Extend PredicateControl to support True16 predicates. (PR #82245)

Ivan Kosarev via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 19 11:14:59 PST 2024


================
@@ -1484,8 +1484,8 @@ multiclass VOP3_Real_dpp8_with_name<GFXGen Gen, bits<10> op, string opName,
   let AsmString = asmName # ps.Pfl.AsmVOP3DPP8,
       DecoderNamespace = "DPP8"#Gen.DecoderNamespace#
                          !if(ps.Pfl.IsRealTrue16, "", "_FAKE16"),
-      OtherPredicates = !if(ps.Pfl.IsRealTrue16, [UseRealTrue16Insts],
----------------
kosarev wrote:

Pasting `OtherPredicates` could help your particular case, but wouldn't resolve the more general problem of overriding predicates for various groups of instructions and inheriting them from their corresponding pseudos.

The idea is to start using `True16Predicate` gradually as will seem necessary for future patches.

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


More information about the llvm-commits mailing list