llvm.org GIT mirror llvm / a44fea3 test / CodeGen / PowerPC / Frames-align.ll
a44fea3

Tree @a44fea3 (Download .tar.gz)

Frames-align.ll @a44fea3raw · history · blame

; RUN: llvm-as < %s | llc -march=ppc32 | grep 'rlwinm r0, r1, 0, 22, 31' &&
; RUN: llvm-as < %s | llc -march=ppc32 | grep 'subfic r0, r0, -17408' &&
; RUN: llvm-as < %s | llc -march=ppc64 | grep 'rldicl r0, r1, 0, 54'


implementation

int* %f1() {
	%tmp = alloca int, uint 4095, align 1024
	ret int* %tmp
}