Home | History | Annotate | Download | only in X86
      1 ; RUN: llc < %s -fast-isel | FileCheck %s
      2 ; CHECK: _kill@GOTPCREL(%rip)
      3 
      4 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
      5 target triple = "x86_64-apple-darwin10.0"
      6 @f = global i8 (...)* @kill		; <i8 (...)**> [#uses=1]
      7 
      8 declare signext i8 @kill(...)
      9 
     10 define i32 @main() nounwind ssp {
     11 entry:
     12 	%retval = alloca i32		; <i32*> [#uses=2]
     13 	%0 = alloca i32		; <i32*> [#uses=2]
     14 	%"alloca point" = bitcast i32 0 to i32		; <i32> [#uses=0]
     15 	%1 = load i8 (...)*, i8 (...)** @f, align 8		; <i8 (...)*> [#uses=1]
     16 	%2 = icmp ne i8 (...)* %1, @kill		; <i1> [#uses=1]
     17 	%3 = zext i1 %2 to i32		; <i32> [#uses=1]
     18 	store i32 %3, i32* %0, align 4
     19 	%4 = load i32, i32* %0, align 4		; <i32> [#uses=1]
     20 	store i32 %4, i32* %retval, align 4
     21 	br label %return
     22 
     23 return:		; preds = %entry
     24 	%retval1 = load i32, i32* %retval		; <i32> [#uses=1]
     25 	ret i32 %retval1
     26 }
     27