Home | History | Annotate | Download | only in X86
      1 ; RUN: llc -march=x86-64 < %s | FileCheck %s
      2 ; PR3701
      3 
      4 define i64 @t(i64* %arg) nounwind {
      5 	br i1 true, label %1, label %5
      6 
      7 ; <label>:1		; preds = %0
      8 	%2 = icmp eq i64* null, %arg		; <i1> [#uses=1]
      9 	%3 = tail call i64* asm sideeffect "movl %fs:0,$0", "=r,~{dirflag},~{fpsr},~{flags}"() nounwind		; <%struct.thread*> [#uses=0]
     10 ; CHECK: test
     11 ; CHECK-NEXT: j
     12 	br i1 %2, label %4, label %5
     13 
     14 ; <label>:4		; preds = %1
     15 	ret i64 1
     16 
     17 ; <label>:5		; preds = %1
     18 	ret i64 0
     19 }
     20