aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2022-09-14 09:21:21 -0400
committerSanjay Patel <spatel@rotateright.com>2022-09-14 09:30:59 -0400
commit73919a87e9a6f8cfa619e297c0c52e0e68f6c532 (patch)
treeae5ff815b9f0ca1ae50bca26ccd33c96e6ada6e0 /clang/lib/Frontend/CompilerInvocation.cpp
parent796af0c02728830a8d36952909dbe11ccb3af8f6 (diff)
downloadllvm-73919a87e9a6f8cfa619e297c0c52e0e68f6c532.zip
llvm-73919a87e9a6f8cfa619e297c0c52e0e68f6c532.tar.gz
llvm-73919a87e9a6f8cfa619e297c0c52e0e68f6c532.tar.bz2
[InstCombine] try multi-use demanded bits folds for 'add'
This patch enables a multi-use demanded bits fold (motivated by issue #57576): https://alive2.llvm.org/ce/z/DsZakh This mimics transforms that we already do on the single-use path. Originally, this patch did not include the last part to form a constant, but that can be removed independently to reduce risk. It's not clear what the effect of either change will be when viewed end-to-end. This is expected to be neutral or a slight win for compile-time. See the "add-demand2" series for experimental timing results: https://llvm-compile-time-tracker.com/?config=NewPM-O3&stat=instructions&remote=rotateright Differential Revision: https://reviews.llvm.org/D133788
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions