[PATCH] D138542: [InstSimplify] Use dominate condtion to simplify instructions

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 25 08:07:08 PST 2022


spatel added a comment.

I made a small adjustment to pass the MaxRecurse through to div/rem as well.

There doesn't appear to be any real cost even if we include and/or in the opcodes now:
https://llvm-compile-time-tracker.com/compare.php?from=27b861a1fd271459e8109418f79293732770bc04&to=7b84f6922df17d6609cffa5c6d6d7ea2083341b8&stat=instructions:u

See the pair of commits ending with:
https://github.com/llvm/llvm-project/commit/7b84f6922df17d6609cffa5c6d6d7ea2083341b8


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D138542/new/

https://reviews.llvm.org/D138542



More information about the llvm-commits mailing list