[llvm] [NVPTX] Fail gracefully when handling unknown intrinsics (PR #191194)
Alex MacLean via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 9 10:02:56 PDT 2026
================
@@ -639,6 +639,16 @@ void NVPTXAsmPrinter::emitDeclarations(const Module &M, raw_ostream &O) {
continue;
if (F.getIntrinsicID())
continue;
+ // If we happen to have an intrinsic previously not lowered, i.e.,
+ // unrecognized intrinsics, we should let the user know that the final
----------------
AlexMaclean wrote:
I think this comment is a little misleading. Unrecognized intrinsics aren't one possible case where this could happen but rather the only case this error is handling.
https://github.com/llvm/llvm-project/pull/191194
More information about the llvm-commits
mailing list