[llvm] [LLVM] Add `Type::getTruncatedType()` and use it in Intrinsics.cpp (PR #196239)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Thu May 7 00:55:53 PDT 2026


https://github.com/nikic approved this pull request.

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.

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


More information about the llvm-commits mailing list