[PATCH] D48278: [SelectionDAG] Fold redundant masking operations of shifted value

Diogo N. Sampaio via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 9 03:47:25 PDT 2018


dnsampaio marked 14 inline comments as done.
dnsampaio added a comment.

In https://reviews.llvm.org/D48278#1155230, @RKSimon wrote:

> Like @spatel I'm not clear on what you're really trying to accomplish here - has the arm/arm64 codegen improved?


In the examples it reduces most required ARM instructions and constants by half in this examples, as the OR and SHIFT operations can be combined.


https://reviews.llvm.org/D48278





More information about the llvm-commits mailing list