[PATCH] D49717: [x86] Teach the x86 backend that it can fold between TCRETURNm* and TCRETURNr* and fix latent bugs with register class updates.
Chandler Carruth via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 23 20:42:19 PDT 2018
chandlerc marked an inline comment as done.
chandlerc added inline comments.
================
Comment at: llvm/lib/Target/X86/X86InstrInfo.cpp:4672
+ auto *NewRC = MRI.constrainRegClass(
+ Reg, TII.getRegClass(TII.get(NewMI.getOpcode()), Idx, &TRI, MF));
+ if (!NewRC) {
----------------
craig.topper wrote:
> Not at my computer but can this be NewMI.getDesc instead of TII.get?
Doh, yes of course. Will update patch when back at my computer as well.
Repository:
rL LLVM
https://reviews.llvm.org/D49717
More information about the llvm-commits
mailing list