Home | History | Annotate | Download | only in ARM
      1 ; RUN: llc < %s -mtriple=arm-linux-gnueabi
      2 ; PR4528
      3 
      4 define i32 @file_read_actor(i32 %desc, i32 %page, i32 %offset, i32 %size) nounwind optsize {
      5 entry:
      6 	br i1 undef, label %fault_in_pages_writeable.exit, label %bb5.i
      7 
      8 bb5.i:		; preds = %entry
      9 	%asmtmp.i = tail call i32 asm sideeffect "1:\09strbt\09$1,[$2]\0A2:\0A\09.section .fixup,\22ax\22\0A\09.align\092\0A3:\09mov\09$0, $3\0A\09b\092b\0A\09.previous\0A\09.section __ex_table,\22a\22\0A\09.align\093\0A\09.long\091b, 3b\0A\09.previous", "=r,r,r,i,0,~{cc}"(i8 0, i32 undef, i32 -14, i32 0) nounwind		; <i32> [#uses=1]
     10 	br label %fault_in_pages_writeable.exit
     11 
     12 fault_in_pages_writeable.exit:		; preds = %bb5.i, %entry
     13 	%0 = phi i32 [ 0, %entry ], [ %asmtmp.i, %bb5.i ]		; <i32> [#uses=1]
     14 	%1 = icmp eq i32 %0, 0		; <i1> [#uses=1]
     15 	br i1 %1, label %bb2, label %bb3
     16 
     17 bb2:		; preds = %fault_in_pages_writeable.exit
     18 	unreachable
     19 
     20 bb3:		; preds = %fault_in_pages_writeable.exit
     21 	%2 = tail call  i32 @__copy_to_user(i8* undef, i8* undef, i32 undef) nounwind		; <i32> [#uses=0]
     22 	unreachable
     23 }
     24 
     25 declare i32 @__copy_to_user(i8*, i8*, i32)
     26