This is an archive of the discontinued LLVM Phabricator instance.

[GlobalISel][X86] Support add i64 in IA32.
ClosedPublic

Authored by igorb on May 11 2017, 4:36 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

igorb created this revision.May 11 2017, 4:36 AM
igorb planned changes to this revision.May 12 2017, 6:02 AM

Going to change the implementation. This is incorrect one.

igorb updated this revision to Diff 98924.May 14 2017, 6:54 AM
  • fix implementation, explicit copy eflags
guyblank added inline comments.May 16 2017, 2:26 AM
lib/Target/X86/X86InstructionSelector.cpp
590 ↗(On Diff #98924)

I think you should assert/check that the defining instruction is a COPY from eflags.

igorb added inline comments.May 16 2017, 2:56 AM
lib/Target/X86/X86InstructionSelector.cpp
590 ↗(On Diff #98924)

I can't check this. The carryIn def instruction is still G_* instruction ( EFLAG copy doesn't created yet ), so i check if it is G_CONST or another G_UADDE instruction.

This revision is now accepted and ready to land.May 17 2017, 5:50 AM
This revision was automatically updated to reflect the committed changes.