[llvm] [clang] [SME2] Add LUTI2 and LUTI4 single Builtins and Intrinsics (PR #73304)

Sander de Smalen via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 1 02:00:29 PST 2023


================
@@ -298,3 +298,11 @@ multiclass ZAAddSub<string n_suffix> {
 
 defm SVADD : ZAAddSub<"add">;
 defm SVSUB : ZAAddSub<"sub">;
+
+//
+// lookup table expand one register
+//
+let TargetGuard = "sme2" in {
+  def SVLUTI2_LANE_ZT : Inst<"svluti2_lane_zt_{d}", "didi", "cUcsUsiUibhf", MergeNone, "aarch64_sme_luti2_lane_zt", [IsStreaming, IsSharedZA, IsPreservesZA], [ImmCheck<0, ImmCheck0_0>, ImmCheck<2, ImmCheck0_15>]>;
----------------
sdesmalen-arm wrote:

Same comment as on #73305 that you can't use the default overloaded type for the operand, as it should use svuint8_t instead.

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


More information about the cfe-commits mailing list