[llvm] [LLVM] Add `Type::getTruncatedType()` and use it in Intrinsics.cpp (PR #196239)
Rahul Joshi via llvm-commits
llvm-commits at lists.llvm.org
Thu May 7 09:18:04 PDT 2026
jurahul wrote:
> LGTM
>
> Worth noting that the asserts (also the preexisting ones) are problematic for intrinsics with invalid signatures, we might want to make these functions return nullptr for invalid types in the future.
Right, I was planning to handle that in the intrinsic signature verification code and not necessarily rely on this function returning null.
https://github.com/llvm/llvm-project/pull/196239
More information about the llvm-commits
mailing list