[PATCH] D64895: [GlobalISel] Translate calls to memcpy et al to G_INTRINSIC_W_SIDE_EFFECTs and legalize later.
Amara Emerson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 17 17:19:11 PDT 2019
aemerson marked an inline comment as done.
aemerson added inline comments.
================
Comment at: llvm/lib/CodeGen/GlobalISel/Utils.cpp:408
+ for (; IDIdx < MI.getNumOperands(); ++IDIdx)
+ if (MI.getOperand(IDIdx).isIntrinsicID())
+ break;
----------------
arsenm wrote:
> I've been using MI.getOperand(MI.getNumExplicitDefs()).getIntrinsicID() for this. I've been considering just adding getIntrinsicID() to MachineInstr directly
I'll try that now.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64895/new/
https://reviews.llvm.org/D64895
More information about the llvm-commits
mailing list