[llvm] [LLVM][Verifier] Remove constant-only matrix stride check (PR #207665)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 17 00:10:17 PDT 2026
================
@@ -6663,8 +6663,6 @@ void Verifier::visitIntrinsicCall(Intrinsic::ID ID, CallBase &Call) {
if (Stride) {
Check(Stride->getBitWidth() <= 64, "Stride bitwidth cannot exceed 64!",
IF);
----------------
nikic wrote:
Looking at this again, this check should be performed on the type. So drop the ConstantInt cast when computing Stride and then check `Stride->getType()->getIntegerBitWidth()`.
https://github.com/llvm/llvm-project/pull/207665
More information about the llvm-commits
mailing list