[PATCH] D158147: [RFC][GlobalISel] convergence control tokens and intrinsics
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 17 12:34:48 PDT 2023
arsenm added inline comments.
================
Comment at: llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp:122
- if (isa<GIntrinsic>(MI))
+ if (auto *GI = dyn_cast<GIntrinsic>(&MI)) {
+ auto ID = GI->getIntrinsicID();
----------------
Wait, why is this here? Generic intrinsics shouldn't reach the legalizer, they should go through G_* instruction wrappers. If your intention was to default legalize to erase, those should be just in the default lower action
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D158147/new/
https://reviews.llvm.org/D158147
More information about the llvm-commits
mailing list