[all-commits] [llvm/llvm-project] 77860f: [NFC][LLVM] Remove redundant verifier type checks ...
Rahul Joshi via All-commits
all-commits at lists.llvm.org
Sun May 31 10:18:28 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 77860f206812145c7d327aa139a75ed09726695e
https://github.com/llvm/llvm-project/commit/77860f206812145c7d327aa139a75ed09726695e
Author: Rahul Joshi <rjoshi at nvidia.com>
Date: 2026-05-31 (Sun, 31 May 2026)
Changed paths:
M llvm/lib/IR/Verifier.cpp
Log Message:
-----------
[NFC][LLVM] Remove redundant verifier type checks for some intrinsics (#200658)
Remove the following redundant type checks:
* `[s|u]div_fix*` intrinsics, existing checks in `isSignatureValid` will
verify that arg0 and arg1 are int or int vectors (since they use
`llvm_anyint_ty`) and arg2 is declared as i32, so checks related to it
are also redundant.
* For `lrint` family, the result is `llvm_anyfloat_ty` and the argument
is `llvm_anyint_ty`, so one of the checks is redundant.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list