[all-commits] [llvm/llvm-project] b41848: [RISCV] Don't use (ADD (SLLI C, 32), C) to materia...
Craig Topper via All-commits
all-commits at lists.llvm.org
Mon Jun 12 09:52:52 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b418482f800c946e42a12a2c2cb7bde2638251fe
https://github.com/llvm/llvm-project/commit/b418482f800c946e42a12a2c2cb7bde2638251fe
Author: Craig Topper <craig.topper at sifive.com>
Date: 2023-06-12 (Mon, 12 Jun 2023)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/test/CodeGen/RISCV/imm.ll
Log Message:
-----------
[RISCV] Don't use (ADD (SLLI C, 32), C) to materialize constants when optimizing for size.
Addresses post-commit feedback from D152236.
Reviewed By: asb, dtcxzyw
Differential Revision: https://reviews.llvm.org/D152602
More information about the All-commits
mailing list