[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


================
@@ -1952,10 +1952,6 @@ def SVPSEL_B : SInst<"svpsel_lane_b8",  "PPPm", "Pc", MergeNone, "", [IsStreamin
 def SVPSEL_H : SInst<"svpsel_lane_b16", "PPPm", "Ps", MergeNone, "", [IsStreamingCompatible], []>;
 def SVPSEL_S : SInst<"svpsel_lane_b32", "PPPm", "Pi", MergeNone, "", [IsStreamingCompatible], []>;
 def SVPSEL_D : SInst<"svpsel_lane_b64", "PPPm", "Pl", MergeNone, "", [IsStreamingCompatible], []>;
----------------
sdesmalen-arm wrote:

Should this be:
```suggestion
def SVPSEL_D : SInst<"svpsel_lane_b64", "PPPm", "Pl", MergeNone, "", [IsSVE2p1OrStreaming], []>;
```
?

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


More information about the cfe-commits mailing list