You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.205
Former-commit-id: 7f59f7e792705db773f1caecdaa823092f4e2927
This commit is contained in:
parent
5cd5df71cc
commit
8e12397d70
39
external/llvm/test/CodeGen/PowerPC/svr4-redzone.ll
vendored
Normal file
39
external/llvm/test/CodeGen/PowerPC/svr4-redzone.ll
vendored
Normal file
@ -0,0 +1,39 @@
|
||||
; RUN: llc -verify-machineinstrs -mtriple="powerpc-unknown-linux-gnu" < %s | FileCheck %s --check-prefix=PPC32
|
||||
; RUN: llc -verify-machineinstrs -mtriple="powerpc64-unknown-linux-gnu" < %s | FileCheck %s --check-prefix=PPC64
|
||||
; PR15332
|
||||
|
||||
define i32 @regalloc() nounwind {
|
||||
entry:
|
||||
%0 = add i32 1, 2
|
||||
ret i32 %0
|
||||
}
|
||||
; PPC32-LABEL: regalloc:
|
||||
; PPC32-NOT: stwu 1, -{{[0-9]+}}(1)
|
||||
; PPC32: blr
|
||||
|
||||
; PPC64-LABEL: regalloc:
|
||||
; PPC64-NOT: stdu 1, -{{[0-9]+}}(1)
|
||||
; PPC64: blr
|
||||
|
||||
define i8* @smallstack() nounwind {
|
||||
entry:
|
||||
%0 = alloca i8, i32 4
|
||||
ret i8* %0
|
||||
}
|
||||
; PPC32-LABEL: smallstack:
|
||||
; PPC32: stwu 1, -16(1)
|
||||
|
||||
; PPC64-LABEL: smallstack:
|
||||
; PPC64-NOT: stdu 1, -{{[0-9]+}}(1)
|
||||
; PPC64: blr
|
||||
|
||||
define i8* @bigstack() nounwind {
|
||||
entry:
|
||||
%0 = alloca i8, i32 290
|
||||
ret i8* %0
|
||||
}
|
||||
; PPC32-LABEL: bigstack:
|
||||
; PPC32: stwu 1, -304(1)
|
||||
|
||||
; PPC64-LABEL: bigstack:
|
||||
; PPC64: stdu 1, -352(1)
|
Reference in New Issue
Block a user