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.
Paths
| Differential D37673
[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
Event Timelinecraig.topper created this revision. Comment ActionsRemove a method declaration for the method that was deleted. This revision is now accepted and ready to land.Sep 11 2017, 3:20 AM Closed by commit rL312925: [X86] Remove portions of r275950 that are no longer needed with i1 not being a… (authored by ctopper). · Explain WhySep 11 2017, 9:18 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 114625 llvm/trunk/lib/Target/X86/X86ISelLowering.h
llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
|