[clang] [Clang][AArch64] Add customisable immediate range checking to NEON (PR #100278)

via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 25 08:21:27 PDT 2024


================
@@ -333,6 +333,8 @@ class Intrinsic {
 
   /// The types of return value [0] and parameters [1..].
   std::vector<Type> Types;
+
+  SmallVector<std::tuple<int, int, int>, 2> ImmChecks;
----------------
Lukacma wrote:

I think using ImmCheck class as in SVEEmittor would make the code more readable as it would allow specific values to be accessed by name, instead of bit unclear std::get<idx> accesses.

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


More information about the cfe-commits mailing list