diff options
author | Craig Topper <craig.topper@sifive.com> | 2021-08-18 10:37:00 -0700 |
---|---|---|
committer | Craig Topper <craig.topper@sifive.com> | 2021-08-18 10:44:25 -0700 |
commit | 6d7ea597efee6398c4bf09a0d60a870c67ef2764 (patch) | |
tree | 9f28a1eb3f3165547c9eb65cc1eef17ac04c409e /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 0a2b1ba33ae6dcaedb81417f7c4cc714f72a5968 (diff) | |
download | llvm-6d7ea597efee6398c4bf09a0d60a870c67ef2764.zip llvm-6d7ea597efee6398c4bf09a0d60a870c67ef2764.tar.gz llvm-6d7ea597efee6398c4bf09a0d60a870c67ef2764.tar.bz2 |
[RISCV] Insert sext_inreg when type legalizing add/sub/mul with constant LHS.
We already do this for non-constants RHS. This just removes the
special case. I believe the special case may have been needed
because the ANY_EXTEND of a constant used to create zero extended
constants, but we recently changed that to produce sign extended
constants.
D107658 is needed to prevent some regressions.
Reviewed By: luismarques
Differential Revision: https://reviews.llvm.org/D107697
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions