[FastISel][AArch64] Fold mul into add/sub and logical operations.
authorJuergen Ributzka <juergen@apple.com>
Wed, 17 Sep 2014 19:51:38 +0000 (19:51 +0000)
committerJuergen Ributzka <juergen@apple.com>
Wed, 17 Sep 2014 19:51:38 +0000 (19:51 +0000)
commit46d6fd2908f4e4d92bacc35d5e2274280bb970d4
tree2621d77da0a6d9d20435d57ac8ee68588982f188
parent5461af97bcfb6f27be51cad2118cbebb87f1c78e
[FastISel][AArch64] Fold mul into add/sub and logical operations.

Try to fold the multiply into the add/sub or logical operations (when
possible).

This is related to rdar://problem/18369687.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217978 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64FastISel.cpp
test/CodeGen/AArch64/fast-isel-logic-op.ll