[PATCH] D93191: [PowerPC] Fold select_cc constants when comparing zero into trivial ops

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 15 08:46:06 PDT 2021


spatel added a comment.

In D93191#3001797 <https://reviews.llvm.org/D93191#3001797>, @spatel wrote:

> So we can always turn a 4-instruction `isel` sequence of arbitrary constants:

That should be "arbitrary small (signed 16-bit) constants". I agree that it doesn't look profitable if we need "lis" to materialize big constants. :)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D93191



More information about the llvm-commits mailing list