[PATCH] D47428: [InstCombine] PR37603: low bit mask canonicalization

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 31 07:17:49 PDT 2018


spatel added a comment.

This is a good IR canonicalization regardless of what happens in the backend because a 'not' is better for bit-tracking analysis and other transforms than an 'add'.

I don't understand the nuw question:
https://rise4fun.com/Alive/ydD

We're missing this in instsimplify?


Repository:
  rL LLVM

https://reviews.llvm.org/D47428





More information about the llvm-commits mailing list