================ @@ -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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits