aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2022-07-11 10:16:36 -0700
committerCraig Topper <craig.topper@sifive.com>2022-07-11 10:44:33 -0700
commit907d923a20498936793829499f149bbbd5aea023 (patch)
tree060c345df7f3b41cfe40a7c8f92c4ccca52aaefa /clang/lib/CodeGen/CodeGenModule.cpp
parent1039165b9678175057c577b749478eeb40b41b7e (diff)
downloadllvm-907d923a20498936793829499f149bbbd5aea023.zip
llvm-907d923a20498936793829499f149bbbd5aea023.tar.gz
llvm-907d923a20498936793829499f149bbbd5aea023.tar.bz2
[RISCV] Move the custom isel for (add X, imm) into SelectAddrRegImm.
This custom isel was used to split the lo12 bits of the imm so that they could be folded into load/store addresses via a post-isel peephole. This patch instead splits the immediate during isel and folds the lo12 removing the need for the post-isel peephole to do anything. After this we'll be able to remove the post-isel peephole. Reviewed By: asb, luismarques Differential Revision: https://reviews.llvm.org/D129450
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions