[PATCH] D33096: [GlobalISel][X86] Support add i64 in IA32.

Guy Blank via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 16 02:26:05 PDT 2017


guyblank added inline comments.


================
Comment at: lib/Target/X86/X86InstructionSelector.cpp:590
+
+  // find CarryIn def instruction.
+  MachineInstr *Def = MRI.getVRegDef(CarryInReg);
----------------
I think you should assert/check that the defining instruction is a COPY from eflags.


https://reviews.llvm.org/D33096





More information about the llvm-commits mailing list