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 20:35:40 -0600
commitc17ccced4b0ba2152a05e7a137c392dbd14181ad (patch)
treefc508420070a6840b268f3810ba6cbad0911b3d6 /clang/lib/Basic/SourceManager.cpp
parentbaf7f7e5752ceba898e1a434c4512de9d35863b0 (diff)
downloadllvm-c17ccced4b0ba2152a05e7a137c392dbd14181ad.zip
llvm-c17ccced4b0ba2152a05e7a137c392dbd14181ad.tar.gz
llvm-c17ccced4b0ba2152a05e7a137c392dbd14181ad.tar.bz2
Recommit "Reorder (shl (add/sub (shl x, C0), y), C1) -> (add/sub (shl x, C0 + C1), (shl y, C1))" 2nd Try
First time caused build failure: https://lab.llvm.org/buildbot/#/builders/183/builds/10447 but after investigating it seems to be unrelated. The same test/build passed later with the original commit here: https://lab.llvm.org/buildbot/#/builders/183/builds/10448 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