[PATCH] D49717: [x86] Teach the x86 backend that it can fold between TCRETURNm* and TCRETURNr* and fix latent bugs with register class updates.
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 23 20:41:25 PDT 2018
craig.topper 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) {
----------------
Not at my computer but can this be NewMI.getDesc instead of TII.get?
Repository:
rL LLVM
https://reviews.llvm.org/D49717
More information about the llvm-commits
mailing list