[PATCH] D155556: [AMDGPU] Isolate target intrinsics that are not GMIR intrinsics.
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 18 05:12:52 PDT 2023
arsenm added inline comments.
================
Comment at: llvm/include/llvm/CodeGen/MachineInstr.h:1945
unsigned getIntrinsicID() const {
+ if (!isIntrinsic())
+ return Intrinsic::not_intrinsic;
----------------
I think making this an assert would be fine?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D155556/new/
https://reviews.llvm.org/D155556
More information about the llvm-commits
mailing list