2003-10-13-AllocaDominanceProblem.ll 429 B

12345678910111213141516171819
  1. ; RUN: opt < %s -inline -disable-output
  2. define i32 @reload() {
  3. reloadentry:
  4. br label %A
  5. A: ; preds = %reloadentry
  6. call void @callee( )
  7. ret i32 0
  8. }
  9. define internal void @callee() {
  10. entry:
  11. %X = alloca i8, i32 0 ; <i8*> [#uses=0]
  12. %Y = bitcast i32 0 to i32 ; <i32> [#uses=1]
  13. %Z = alloca i8, i32 %Y ; <i8*> [#uses=0]
  14. ret void
  15. }