diff options
| author | Ben Shi <powerman1st@163.com> | 2021-08-30 21:14:12 +0800 |
|---|---|---|
| committer | Ben Shi <ben.shi@streamcomputing.com> | 2021-09-19 16:35:12 +0800 |
| commit | dee5a8ca325f3c752534442233cb601910e918c4 (patch) | |
| tree | e53f481da1d6ada0f5e06b7c68797b98a82a258d /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp | |
| parent | ae0873483d9393d35bd5bdbfcb2bfb843c335cd5 (diff) | |
| download | llvm-dee5a8ca325f3c752534442233cb601910e918c4.zip llvm-dee5a8ca325f3c752534442233cb601910e918c4.tar.gz llvm-dee5a8ca325f3c752534442233cb601910e918c4.tar.bz2 | |
[RISCV] Optimize (add (shl x, c0), (shl y, c1)) with SH*ADD
Optimize (add (shl x, c0), (shl y, c1)) ->
(SLLI (SH*ADD x, y), c1), if c0-c1 == 1/2/3.
Reviewed By: craig.topper, luismarques
Differential Revision: https://reviews.llvm.org/D108916
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions
