AArch64: mark small types (i1, i8, i16) as promoted
authorTim Northover <tnorthover@apple.com>
Tue, 3 Jun 2014 13:54:53 +0000 (13:54 +0000)
committerTim Northover <tnorthover@apple.com>
Tue, 3 Jun 2014 13:54:53 +0000 (13:54 +0000)
commit1410a2c9069ef174934e245b86e776dc9720824e
tree9ce59672526ca4fed6faec1d95d451c07223a65b
parente9b2cf3456e2ecc04e63f9ea03cfc47ffbb12614
AArch64: mark small types (i1, i8, i16) as promoted

This means the output of LowerFormalArguments returns a lowered
SDValue with the correct type (expected in SelectionDAGBuilder).
Without this, an assertion under a DEBUG macro triggers when those
types are passed on the stack.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210102 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64CallingConvention.td
lib/Target/AArch64/AArch64FastISel.cpp
lib/Target/AArch64/AArch64ISelLowering.cpp
test/CodeGen/AArch64/arm64-abi.ll