This is an archive of the discontinued LLVM Phabricator instance.

[GlobalISel][X86] Prioritize Tablegen-erated instruction selection. NFC
ClosedPublic

Authored by igorb on Apr 30 2017, 12:48 AM.

Details

Summary

Prioritizes Tablegen-erated instruction selection over C++ instruction selection.
Remove G_ADD/G_SUB C++ selection - implemented by Tablegen.

Diff Detail

Repository
rL LLVM

Event Timeline

igorb created this revision.Apr 30 2017, 12:48 AM
guyblank accepted this revision.Apr 30 2017, 11:30 PM

LGTM

lib/Target/X86/X86InstructionSelector.cpp
58 ↗(On Diff #97216)

does the comment need updating?

This revision is now accepted and ready to land.Apr 30 2017, 11:30 PM
This revision was automatically updated to reflect the committed changes.
igorb marked an inline comment as done.May 1 2017, 12:23 AM

Thanks for the review!

lib/Target/X86/X86InstructionSelector.cpp
58 ↗(On Diff #97216)

Thanks

dsanders edited edge metadata.May 2 2017, 3:49 AM

Thanks for doing this. It will allow me to add a test for the predicates related to the optsize attribute.