| 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 |
| 7 |
define i32 @main() #0 { |
| 8 |
; CHECK-LABEL: main: |
| 9 |
; CHECK-NOT: evstdd |
| 10 |
entry: |
| 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 |
|
| 17 |
attributes #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 |
|