[clang] [llvm] [SME2] Add LUTI2 and LUTI4 quad Builtins and Intrinsics (PR #73317)

Sander de Smalen via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 5 01:28:36 PST 2023


================
@@ -321,9 +321,18 @@ let TargetGuard = "sme2" in {
 let TargetGuard = "sme2" in {
   def SVLDR_ZT : Inst<"svldr_zt", "viQ", "", MergeNone, "aarch64_sme_ldr_zt", [IsOverloadNone, IsStreamingCompatible, IsSharedZA, IsPreservesZA], [ImmCheck<0, ImmCheck0_0>]>;
   def SVSTR_ZT : Inst<"svstr_zt", "vi%", "", MergeNone, "aarch64_sme_str_zt", [IsOverloadNone, IsStreamingCompatible, IsSharedZA, IsPreservesZA], [ImmCheck<0, ImmCheck0_0>]>;
+}
 
 //
 // Zero ZT0
 //
+let TargetGuard = "sme2" in {
----------------
sdesmalen-arm wrote:

nit: I'm not really sure why this is formatted like:

```
let TargetGuard = "sme2" in {
 ....A....
}

let TargetGuard = "sme2" in {
 ....B....
}

let TargetGuard = "sme2" in {
 ....C....
}
```

Rather than:

```
let TargetGuard = "sme2" in {
 ....A....
 ....B....
 ....C....
}
```

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


More information about the cfe-commits mailing list