[lit] Add argument check: --timeout must be non-negative integer
[llvm-core.git] / test / CodeGen / Thumb / cortex-m0-unaligned-access.ll
blob1ba7cb795d11bcae0d455c2ef50147f8f367745b
1 ; RUN: llc -mtriple=thumbv6m-apple-unknown-macho -mattr=+strict-align < %s | FileCheck --check-prefix=V6M %s
2 ; RUN: llc -mtriple=thumbv7m-apple-unknown-macho < %s | FileCheck --check-prefix=V7M %s
4 define i32 @split_load(i32* %p) nounwind {
5 ; V6M-LABEL: split_load
6 ; V6M: ldrh
7 ; V6M: ldrh
8 ; V7M-LABEL: split_load
9 ; V7M-NOT: ldrh
10 ; V7M: bx lr
11   %val = load i32, i32* %p, align 2
12   ret i32 %val