[PATCH] D56185: [BDCE] Remove intructions without demanded bits

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 1 03:40:11 PST 2019


nikic created this revision.
nikic added reviewers: hfinkel, spatel.
Herald added a subscriber: llvm-commits.

Followup to D55563 <https://reviews.llvm.org/D55563>.

If an instruction has no demanded bits, remove it directly during BDCE, instead of leaving it for something else to clean up.


Repository:
  rL LLVM

https://reviews.llvm.org/D56185

Files:
  lib/Transforms/Scalar/BDCE.cpp
  test/Transforms/BDCE/invalidate-assumptions.ll
  test/Transforms/BDCE/vectors.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56185.179793.patch
Type: text/x-patch
Size: 5730 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190101/d2dc77ca/attachment.bin>


More information about the llvm-commits mailing list