aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorAmara Emerson <amara@apple.com>2020-11-09 21:55:22 -0800
committerAmara Emerson <amara@apple.com>2020-11-10 22:21:13 -0800
commit22623930903dd7922a0ee06d4f43fc74e0053e3d (patch)
tree86a0192d8c2707c03fcabb5924dfdfe9a4bb8b2b /clang/lib/Frontend/CompilerInvocation.cpp
parent881b4d20f63ccfd55f1fa88a6282d9ce3652d220 (diff)
downloadllvm-22623930903dd7922a0ee06d4f43fc74e0053e3d.zip
llvm-22623930903dd7922a0ee06d4f43fc74e0053e3d.tar.gz
llvm-22623930903dd7922a0ee06d4f43fc74e0053e3d.tar.bz2
[AArch64][GlobalISel] Port some AArch64 target specific MUL combines from SDAG.
These do things like turn a multiply of a pow-2+1 into a shift and and add, which is a common pattern that pops up, and is universally better than expensive madd instructions with a constant. I've added check lines to an existing codegen test since the code being ported is almost identical, however the mul by negative pow2 constant tests don't generate the same code because we're missing some generic G_MUL combines still. Differential Revision: https://reviews.llvm.org/D91125
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions