[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


================
@@ -414,23 +419,22 @@ class Intrinsic {
   /// Get the architectural guard string (#ifdef).
   std::string getArchGuard() const { return ArchGuard; }
   std::string getTargetGuard() const { return TargetGuard; }
+  ArrayRef<std::tuple<int, int, int>> getImmChecks() const { return ImmChecks; }
   /// Get the non-mangled name.
   std::string getName() const { return Name; }
 
   /// Return true if the intrinsic takes an immediate operand.
   bool hasImmediate() const {
     return llvm::any_of(Types, [](const Type &T) { return T.isImmediate(); });
+    // return !ImmChecks.empty();
----------------
Lukacma wrote:

I think you have forgotten to remove this ? If not what is the purpose of this comment ?

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


More information about the cfe-commits mailing list