brintos

brintos / llvm-project-archived public Read only

0
0
Text · 701 B · e98117d Raw
21 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc < %s -mtriple=i386-apple-darwin9   | FileCheck %s --check-prefix=i386-darwin93; RUN: llc < %s -mtriple=x86_64-apple-darwin9 | FileCheck %s --check-prefix=x86_64-darwin94 5@x = weak hidden global i32 0		; <ptr> [#uses=1]6 7define i32 @t() nounwind readonly {8; i386-darwin9-LABEL: t:9; i386-darwin9:       ## %bb.0: ## %entry10; i386-darwin9-NEXT:    movl _x, %eax11; i386-darwin9-NEXT:    retl12;13; x86_64-darwin9-LABEL: t:14; x86_64-darwin9:       ## %bb.0: ## %entry15; x86_64-darwin9-NEXT:    movl _x(%rip), %eax16; x86_64-darwin9-NEXT:    retq17entry:18	%0 = load i32, ptr @x, align 4		; <i32> [#uses=1]19	ret i32 %020}21