aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/InitPreprocessor.cpp
diff options
context:
space:
mode:
authorzhongyunde <zhongyunde@huawei.com>2022-09-30 01:30:31 +0800
committerzhongyunde <zhongyunde@huawei.com>2022-09-30 01:31:06 +0800
commit62a51c357cf47127d8044e1bf367f6d1d0612969 (patch)
treeac2696270a2468e7cf5fe42cb030572f4b2b0ca5 /clang/lib/Frontend/InitPreprocessor.cpp
parent535fd753ef8dcfe5c73219ea7173e015a74e4f59 (diff)
downloadllvm-62a51c357cf47127d8044e1bf367f6d1d0612969.zip
llvm-62a51c357cf47127d8044e1bf367f6d1d0612969.tar.gz
llvm-62a51c357cf47127d8044e1bf367f6d1d0612969.tar.bz2
[AArch64] Lower multiplication by a constant int to shl+sub+shl
Decompose the const 14 can be separated from D132322 Change the costmodel to lower a = b * C where C = 2^n - 2^m to lsl w8, w0, n sub w0, w8, w0, lsl m Reviewed By: efriedma Differential Revision: https://reviews.llvm.org/D134706
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions