This is an archive of the discontinued LLVM Phabricator instance.

[X86] Enable 8-bit SHL to convert to LEA
ClosedPublic

Authored by craig.topper on Mar 1 2019, 11:49 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

Do you know why this wasn't done before? It seems odd that i16 support was added but not i8

We used to not do any 8-bit ops. 8-bit add was added by Sanjay within the last few months. So I guess no one had gotten around to it?

RKSimon accepted this revision.Mar 2 2019, 9:16 AM

OK, LGTM

This revision is now accepted and ready to land.Mar 2 2019, 9:16 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptMar 5 2019, 10:38 AM