[PATCH] D152236: [RISCV] Add special case to selectImm for constants that can be created with (ADD (SLLI C, 32), C).

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 9 18:47:50 PDT 2023


craig.topper added a comment.

In D152236#4405188 <https://reviews.llvm.org/D152236#4405188>, @dtcxzyw wrote:

> Our CI reported that this patch caused code bloat (average ~0.1%) in llvm-test-suite compiled with `-Os`. We can turn this off when optimizing for size (`-Os`/`-Oz`).

https://reviews.llvm.org/D152602


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D152236



More information about the llvm-commits mailing list