Followup to D55563.
If an instruction has no demanded bits, remove it directly during BDCE, instead of leaving it for something else to clean up.
Paths
| Differential D56185
[BDCE] Remove instructions without demanded bits ClosedPublic Authored by nikic on Jan 1 2019, 3:40 AM.
Details Summary Followup to D55563. If an instruction has no demanded bits, remove it directly during BDCE, instead of leaving it for something else to clean up.
Diff Detail
Event Timelinelebedev.ri added inline comments.
nikic retitled this revision from [BDCE] Remove intructions without demanded bits to [BDCE] Remove instructions without demanded bits. Comment ActionsRebase over regenerated test checks.
This revision is now accepted and ready to land.Jan 1 2019, 10:03 AM Closed by commit rL350257: [BDCE] Remove instructions without demanded bits (authored by nikic). · Explain WhyJan 2 2019, 12:05 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 179910 llvm/trunk/lib/Transforms/Scalar/BDCE.cpp
llvm/trunk/test/Transforms/BDCE/invalidate-assumptions.ll
llvm/trunk/test/Transforms/BDCE/vectors.ll
|