SHARE
TWEET

Untitled

a guest May 3rd, 2019 105 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. define dso_local i32 @max(i32 %arg, i32 %arg1) #0 {
  2. bb:
  3.   %tmp = alloca i32, align 4
  4.   %tmp2 = alloca i32, align 4
  5.   %tmp3 = alloca i32, align 4
  6.   store i32 %arg, i32* %tmp2, align 4
  7.   store i32 %arg1, i32* %tmp3, align 4
  8.   %tmp4 = load i32, i32* %tmp2, align 4
  9.   %tmp5 = load i32, i32* %tmp3, align 4
  10.   %tmp6 = icmp sgt i32 %tmp4, %tmp5
  11.   br i1 %tmp6, label %bb7, label %bb9
  12.  
  13. bb7:                                              ; preds = %bb
  14.   %tmp8 = load i32, i32* %tmp2, align 4
  15.   store i32 %tmp8, i32* %tmp, align 4
  16.   br label %bb11
  17.  
  18. bb9:                                              ; preds = %bb
  19.   %tmp10 = load i32, i32* %tmp3, align 4
  20.   store i32 %tmp10, i32* %tmp, align 4
  21.   br label %bb11
  22.  
  23. bb11:                                             ; preds = %bb9, %bb7
  24.   %tmp12 = load i32, i32* %tmp, align 4
  25.   ret i32 %tmp12
  26. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top