[PATCH] D54367: RegAllocFast: Improve hinting heuristic
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 9 17:03:34 PST 2018
arsenm added inline comments.
================
Comment at: lib/CodeGen/RegAllocFast.cpp:602-603
+static bool isCoalescable(const MachineInstr &MI) {
+ return MI.isCopy() && MI.getOperand(0).getSubReg() == 0 &&
+ MI.getOperand(1).getSubReg() == 0;
+}
----------------
Isn't this the same as MI.isFullCopy()?
Repository:
rL LLVM
https://reviews.llvm.org/D54367
More information about the llvm-commits
mailing list