[ARM] Adjust how NEON shifts are lowered
[llvm-core.git] / test / CodeGen / ARM / arm-frameaddr.ll
blob9c4173ef0ce23a7cc7c12941c4e73eea86f47942
1 ; RUN: llc < %s -mtriple=arm-apple-darwin  | FileCheck %s -check-prefix=DARWIN
2 ; RUN: llc < %s -mtriple=arm-linux-gnueabi | FileCheck %s -check-prefix=LINUX
3 ; PR4344
4 ; PR4416
6 define i8* @t() nounwind {
7 entry:
8 ; DARWIN-LABEL: t:
9 ; DARWIN: mov r0, r7
11 ; LINUX-LABEL: t:
12 ; LINUX: mov r0, r11
13         %0 = call i8* @llvm.frameaddress(i32 0)
14         ret i8* %0
17 declare i8* @llvm.frameaddress(i32) nounwind readnone