1 ; RUN: opt < %s -passes=inline -S | not grep "tail call void @llvm.memcpy.p0.p0.i32"
4 define internal void @foo(ptr %p, ptr %q) {
7 tail call void @llvm.memcpy.p0.p0.i32(ptr %p, ptr %q, i32 4, i1 false)
11 define i32 @main() personality ptr @__gxx_personality_v0 {
12 ; CHECK-LABEL: define i32 @main() personality ptr @__gxx_personality_v0
16 store i32 1, ptr %a, align 4
17 store i32 0, ptr %b, align 4
18 invoke void @foo(ptr %a, ptr %b)
19 to label %invcont unwind label %lpad
23 ; CHECK: call void @llvm.memcpy.p0.p0.i32
27 %retval = load i32, ptr %a, align 4
31 %exn = landingpad {ptr, i32}
36 declare i32 @__gxx_personality_v0(...)
38 declare void @llvm.memcpy.p0.p0.i32(ptr nocapture, ptr nocapture, i32, i1) nounwind