AArch64: make register block rules apply to vector types too.
authorTim Northover <tnorthover@apple.com>
Tue, 2 Dec 2014 17:15:22 +0000 (17:15 +0000)
committerTim Northover <tnorthover@apple.com>
Tue, 2 Dec 2014 17:15:22 +0000 (17:15 +0000)
commit24ec87debb76a59016e854a7b28bd8e99fa74dc5
treefe21f92dc99d4c442da39ab84c241652ae1d23c0
parent794c8c0f783eb95a43f0fca5d1d75b60eb4d237c
AArch64: make register block rules apply to vector types too.

The blocking code originated in ARM, which is more aggressive about casting
types to a canonical representative before doing anything else, so I missed out
most vector HFAs and broke the ABI. This should fix it.

llvm-svn: 223126
llvm/lib/Target/AArch64/AArch64CallingConvention.h
llvm/test/CodeGen/AArch64/argument-blocks.ll