ARM64: add 128-bit MLA operations to the custom selection code.
authorTim Northover <tnorthover@apple.com>
Fri, 4 Apr 2014 09:03:02 +0000 (09:03 +0000)
committerTim Northover <tnorthover@apple.com>
Fri, 4 Apr 2014 09:03:02 +0000 (09:03 +0000)
commit1e4f2c5e5f20d9f57a00c0f99753a2d8a3acb0de
treedd921c43096558993733ce5d233830897e72e6f3
parent6d8f71f928e2935db336da01d21a24b4b1a7bec1
ARM64: add 128-bit MLA operations to the custom selection code.

Without this change, the llvm_unreachable kicked in. The code pattern
being spotted is rather non-canonical for 128-bit MLAs, but it can
happen and there's no point in generating sub-optimal code for it just
because it looks odd.

Should fix PR19332.

llvm-svn: 205615
llvm/lib/Target/ARM64/ARM64ISelDAGToDAG.cpp
llvm/test/CodeGen/ARM64/vmul.ll