memdep_requires_dominator_tree.ll 705 B

12345678910111213141516171819
  1. ; RUN: opt -memdep -gvn < %s
  2. define void @__memdep_requires_dominator_tree(i32* nocapture %bufUInt, i32* nocapture %pattern) nounwind {
  3. entry:
  4. br label %for.body
  5. for.exit: ; preds = %for.body
  6. ret void
  7. for.body: ; preds = %for.body, %entry
  8. %i.01 = phi i32 [ 0, %entry ], [ %tmp8.7, %for.body ]
  9. %arrayidx = getelementptr i32, i32* %bufUInt, i32 %i.01
  10. %arrayidx5 = getelementptr i32, i32* %pattern, i32 %i.01
  11. %tmp6 = load i32, i32* %arrayidx5, align 4
  12. store i32 %tmp6, i32* %arrayidx, align 4
  13. %tmp8.7 = add i32 %i.01, 8
  14. %cmp.7 = icmp ult i32 %tmp8.7, 1024
  15. br i1 %cmp.7, label %for.body, label %for.exit
  16. }