This is an archive of the discontinued LLVM Phabricator instance.

[X86] Remove portions of r275950 that are no longer needed with i1 not being a legal type
ClosedPublic

Authored by craig.topper on Sep 10 2017, 9:37 PM.

Details

Summary

r275950 added support for turning (trunc (X >> N) to i1) into BT(X, N). But that's no longer necessary now that i1 isn't legal.

This patch removes the support for that, but preserves some of the refactorings done in that commit.

Diff Detail

Repository
rL LLVM

Event Timeline

craig.topper created this revision.

Remove a method declaration for the method that was deleted.

RKSimon accepted this revision.Sep 11 2017, 3:20 AM

LGTM

This revision is now accepted and ready to land.Sep 11 2017, 3:20 AM
This revision was automatically updated to reflect the committed changes.