summaryrefslogtreecommitdiff
path: root/test/CodeGen/AArch64/regress-bitcast-formals.ll
blob: 7f3ba7276b5008bd04070af2aefd5ee4ca3e4f8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; RUN: llc -mtriple=aarch64-none-linux-gnu -verify-machineinstrs < %s | FileCheck %s
; RUN: llc -mtriple=arm64-apple-ios7.0 -verify-machineinstrs < %s | FileCheck %s

; CallingConv.td requires a bitcast for vector arguments. Make sure we're
; actually capable of that (the test was omitted from LowerFormalArguments).

define void @test_bitcast_lower(<2 x i32> %a) {
; CHECK-LABEL: test_bitcast_lower:

  ret void
; CHECK: ret
}