[clang] [Clang][SME2] Fix PSEL builtin predicates (PR #77097)
Sander de Smalen via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 5 06:30:02 PST 2024
================
@@ -1979,6 +1975,11 @@ let TargetGuard = "sve2p1|sme2" in {
def SVPEXT_SINGLE : SInst<"svpext_lane_{d}", "P}i", "QcQsQiQl", MergeNone, "aarch64_sve_pext", [IsStreamingOrSVE2p1], [ImmCheck<1, ImmCheck0_3>]>;
def SVPEXT_X2 : SInst<"svpext_lane_{d}_x2", "2.P}i", "QcQsQiQl", MergeNone, "aarch64_sve_pext_x2", [IsStreamingOrSVE2p1], [ImmCheck<1, ImmCheck0_1>]>;
+def SVPSEL_COUNT_ALIAS_B : SInst<"svpsel_lane_c8", "}}Pm", "Pc", MergeNone, "", [IsStreamingCompatible], []>;
----------------
sdesmalen-arm wrote:
Should this be:
```suggestion
def SVPSEL_COUNT_ALIAS_B : SInst<"svpsel_lane_c8", "}}Pm", "Pc", MergeNone, "", [SVE2p1OrStreaming], []>;
```
?
https://github.com/llvm/llvm-project/pull/77097
More information about the cfe-commits
mailing list