xref: /llvm-project/llvm/test/CodeGen/PowerPC/pr55857.ll (revision 9757f4f2ddb76ae3ab0cc6c8768e3179ff141ee5)
1; RUN: llc --relocation-model=pic  \
2; RUN:   -mtriple=ppc32 < %s | FileCheck  %s
3
4@g = global i32 10, align 4
5
6; Function Attrs: noinline nounwind optnone uwtable
7define i32 @main() #0 {
8; CHECK-LABEL: main:
9; CHECK-NOT: evstdd
10entry:
11  %retval = alloca i32, align 4
12  store i32 0, ptr %retval, align 4
13  %0 = load i32, ptr @g, align 4
14  ret i32 %0
15}
16
17attributes #0 = { noinline nounwind optnone uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="e500" "target-features"="+spe,-altivec,-bpermd,-crbits,-crypto,-direct-move,-extdiv,-htm,-isa-v206-instructions,-isa-v207-instructions,-isa-v30-instructions,-power8-vector,-power9-vector,-privileged,-quadword-atomics,-rop-protect,-vsx" }
18
19