Advertisement
dnicacios

no simple opt working

Jul 29th, 2011
3,279
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
LLVM 0.61 KB | None | 0 0
  1. IC: Visiting:   br label %while.body
  2. IC: Visiting:   %0 = phi i32 [ 0, %entry ], [ %inc.3, %while.body ]
  3. IC: Visiting:   %shr = lshr i32 %0, 5
  4. IC: Visiting:   %rem = and i32 %0, 28
  5. IC: Visiting:   %shl = shl i32 1, %rem
  6. IC: Visiting:   %arrayidx = getelementptr inbounds i32* %bitmap, i32 %shr
  7. IC: Visiting:   %tmp6 = load i32* %arrayidx, align 4
  8. IC: Visiting:   %xor = xor i32 %tmp6, %shl
  9. IC: Visiting:   store i32 %xor, i32* %arrayidx, align 4
  10. IC: Visiting:   %shr.1 = lshr i32 %0, 5
  11. IC: Visiting:   %inc5 = and i32 %0, 28
  12. IC: Visiting:   %rem.1 = or i32 %inc5, 1
  13. IC: Visiting:   %shl.1 = shl i32 1, %rem.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement