Advertisement
Guest User

Untitled

a guest
Jan 4th, 2016
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. define i32 @_D8test01824mainFMZi() {
  2. body:
  3. %0 = tail call noalias i32* @allocmemory()
  4. store i32 7, i32* %0, align 4
  5. %1 = tail call noalias i32* @allocmemory()
  6. %2 = bitcast i32* %1 to i32**
  7. store i32* %0, i32** %2, align 8
  8. %3 = tail call noalias i32* @allocmemory()
  9. %4 = bitcast i32* %3 to i32**
  10. store i32* %0, i32** %4, align 8
  11. %5 = load i32, i32* %0, align 4
  12. %6 = add i32 %5, 1
  13. store i32 %6, i32* %0, align 4
  14. %7 = add i32 %5, %6
  15. ret i32 %7
  16. }
  17.  
  18. declare noalias i32* @allocmemory() #0
  19.  
  20. attributes #0 = { inaccessiblememonly }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement