More tests for D45108:
- One use tests
- allow shift to be a variable, too
Paths
| Differential D45329
[InstCombine] [NFC] Add more tests for getting rid of select of bittest (D45108, PR36950 / PR17564) ClosedPublic Authored by lebedev.ri on Apr 5 2018, 10:20 AM.
Details
Diff Detail
Event Timelinelebedev.ri mentioned this in D45108: [InstCombine] Get rid of select of bittest (PR36950 / PR17564). lebedev.ri added a child revision: D45108: [InstCombine] Get rid of select of bittest (PR36950 / PR17564). Comment Actions LGTM - but see inline comment for an improvement.
This revision is now accepted and ready to land.Apr 5 2018, 1:37 PM
Closed by commit rL329348: [InstCombine] [NFC] Add more tests for getting rid of select of bittest (D45108… (authored by lebedevri). · Explain WhyApr 5 2018, 2:38 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 141179 test/Transforms/InstCombine/select-of-bittest.ll
|
It's better for readability to give the params and other values names. You can use 'opt -instnamer' to do that.