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

Yingwei Zheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 8 01:11:32 PDT 2023


dtcxzyw added a comment.

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`).


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