aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/SourceManager.cpp
diff options
context:
space:
mode:
authorNoah Goldstein <goldstein.w.n@gmail.com>2023-01-27 17:26:41 -0600
committerNoah Goldstein <goldstein.w.n@gmail.com>2023-01-27 17:45:36 -0600
commitedd80befeeb92000800ded2a6f3dcdfd672d95ea (patch)
treebe24276d96cecf0c92d9a39ede3941091d5ad34d /clang/lib/Basic/SourceManager.cpp
parent8c884655862ed2e4ca0f00de349387db77294c8b (diff)
downloadllvm-edd80befeeb92000800ded2a6f3dcdfd672d95ea.zip
llvm-edd80befeeb92000800ded2a6f3dcdfd672d95ea.tar.gz
llvm-edd80befeeb92000800ded2a6f3dcdfd672d95ea.tar.bz2
Reorder (shl (add/sub (shl x, C0), y), C1) -> (add/sub (shl x, C0 + C1), (shl y, C1))
This is just expanding the existing pattern that exists for AND/XOR/OR and gets a bit more parallelism in from the instruction sequence. Alive2: Add - https://alive2.llvm.org/ce/z/dSmPkV Sub1 - https://alive2.llvm.org/ce/z/6rpi5V Sub2 - https://alive2.llvm.org/ce/z/UfYeUd Reviewed By: spatel Differential Revision: https://reviews.llvm.org/D141875
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions