[PATCH] D143742: [VirtRegMap] Further optimize emitting KILL for copy
Quentin Colombet via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 16 00:13:13 PST 2023
qcolombet added inline comments.
================
Comment at: llvm/lib/CodeGen/VirtRegMap.cpp:441
+ ((MI.getNumOperands() > 2) &&
+ !isCopyWithReservedImplicitOpnds(MI, *MRI))) {
MI.setDesc(TII->get(TargetOpcode::KILL));
----------------
Instead of not emitting the `KILL` could we just drop the implicit reserved registers?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D143742/new/
https://reviews.llvm.org/D143742
More information about the llvm-commits
mailing list