AArch64/ARM64: add another set of tests from AArch64
[oota-llvm.git] / test / CodeGen / AArch64 / regress-bitcast-formals.ll
1 ; RUN: llc -mtriple=aarch64-none-linux-gnu -verify-machineinstrs < %s | FileCheck %s
2 ; RUN: llc -mtriple=arm64-apple-ios7.0 -verify-machineinstrs < %s | FileCheck %s
3
4 ; CallingConv.td requires a bitcast for vector arguments. Make sure we're
5 ; actually capable of that (the test was omitted from LowerFormalArguments).
6
7 define void @test_bitcast_lower(<2 x i32> %a) {
8 ; CHECK-LABEL: test_bitcast_lower:
9
10   ret void
11 ; CHECK: ret
12 }