brintos

brintos / llvm-project-archived public Read only

0
0
Text · 706 B · 5db1989 Raw
19 lines · plain
1; RUN: llvm-reduce %s -o %t --abort-on-invalid-reduction --delta-passes=operands-to-args --test FileCheck --test-arg %s --test-arg --check-prefix=INTERESTING --test-arg --input-file2; RUN: FileCheck %s --input-file %t --check-prefix=REDUCED3 4; INTERESTING: store5; REDUCED: define void @test(ptr %a) {6; REDUCED-NEXT: %a1 = alloca i327; REDUCED-NEXT: call void @llvm.lifetime.start.p0(ptr %a1)8; REDUCED-NEXT: store i32 0, ptr %a9; REDUCED-NEXT: store i32 1, ptr %a10; REDUCED-NEXT: call void @llvm.lifetime.end.p0(ptr %a1)11define void @test() {12  %a = alloca i3213  call void @llvm.lifetime.start.p0(ptr %a)14  store i32 0, ptr %a15  store i32 1, ptr %a16  call void @llvm.lifetime.end.p0(ptr %a)17  ret void18}19