You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.246
Former-commit-id: 0c7ce5b1a7851e13f22acfd379b7f9fb304e4833
This commit is contained in:
parent
a7724cd563
commit
279aa8f685
13
external/llvm/test/CodeGen/Thumb/cortex-m0-unaligned-access.ll
vendored
Normal file
13
external/llvm/test/CodeGen/Thumb/cortex-m0-unaligned-access.ll
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
; RUN: llc -mtriple=thumbv6m-apple-unknown-macho -mattr=+strict-align < %s | FileCheck --check-prefix=V6M %s
|
||||
; RUN: llc -mtriple=thumbv7m-apple-unknown-macho < %s | FileCheck --check-prefix=V7M %s
|
||||
|
||||
define i32 @split_load(i32* %p) nounwind {
|
||||
; V6M-LABEL: split_load
|
||||
; V6M: ldrh
|
||||
; V6M: ldrh
|
||||
; V7M-LABEL: split_load
|
||||
; V7M-NOT: ldrh
|
||||
; V7M: bx lr
|
||||
%val = load i32, i32* %p, align 2
|
||||
ret i32 %val
|
||||
}
|
Reference in New Issue
Block a user