|
40 | 40 | ; RUN: opt -debugify-each -passes=globalopt -S -o /dev/null < %s 2> %t
|
41 | 41 | ; RUN: FileCheck %s -input-file=%t -check-prefix=MODULE-PASS-ONE
|
42 | 42 |
|
43 |
| -; Repeat the same checks with debug intrinsics enabled. |
44 |
| -; RUN: opt --experimental-debuginfo-iterators=false -debugify-each -O3 -S -o /dev/null < %s 2> %t |
45 |
| -; RUN: FileCheck %s -input-file=%t -check-prefix=MODULE-PASS |
46 |
| -; RUN: FileCheck %s -input-file=%t -check-prefix=FUNCTION-PASS |
47 |
| -; RUN: opt --experimental-debuginfo-iterators=false -disable-output -debugify-each -passes='default<O3>' %s 2> %t |
48 |
| -; RUN: FileCheck %s -input-file=%t -check-prefix=MODULE-PASS |
49 |
| -; RUN: FileCheck %s -input-file=%t -check-prefix=FUNCTION-PASS |
50 |
| - |
51 |
| -; RUN: opt --experimental-debuginfo-iterators=false -enable-debugify -debugify-each -O3 -S -o /dev/null < %s 2> %t |
52 |
| -; RUN: FileCheck %s -input-file=%t -check-prefix=MODULE-PASS |
53 |
| -; RUN: FileCheck %s -input-file=%t -check-prefix=FUNCTION-PASS |
54 |
| - |
55 |
| -; RUN: opt --experimental-debuginfo-iterators=false -debugify-each -passes='instrprof,instrprof,sroa,sccp' -S -o /dev/null < %s 2> %t |
56 |
| -; RUN: FileCheck %s -input-file=%t -check-prefix=MODULE-PASS |
57 |
| -; RUN: FileCheck %s -input-file=%t -check-prefix=FUNCTION-PASS |
58 |
| - |
59 |
| -; RUN: opt --experimental-debuginfo-iterators=false -debugify-each -O1 < %s | opt -O2 -o /dev/null |
60 |
| - |
61 |
| -; RUN: opt --experimental-debuginfo-iterators=false -disable-output -debugify-quiet -debugify-each -O1 < %s 2>&1 | count 0 |
62 |
| - |
63 |
| -; RUN: opt --experimental-debuginfo-iterators=false -O1 < %s -S -o %t.before |
64 |
| -; RUN: opt --experimental-debuginfo-iterators=false -O1 -debugify-each < %s -S -o %t.after |
65 |
| -; RUN: diff %t.before %t.after |
66 |
| - |
67 |
| -; RUN: opt --experimental-debuginfo-iterators=false -O1 < %s | llvm-dis -o %t.before |
68 |
| -; RUN: opt --experimental-debuginfo-iterators=false -O1 -debugify-each < %s | llvm-dis -o %t.after |
69 |
| -; RUN: diff %t.before %t.after |
70 |
| - |
71 |
| -; RUN: opt --experimental-debuginfo-iterators=false -debugify-each -passes=instsimplify -S -o /dev/null < %s 2> %t |
72 |
| -; RUN: FileCheck %s -input-file=%t -check-prefix=FUNCTION-PASS-ONE |
73 |
| - |
74 |
| -; RUN: opt --experimental-debuginfo-iterators=false -debugify-each -passes=globalopt -S -o /dev/null < %s 2> %t |
75 |
| -; RUN: FileCheck %s -input-file=%t -check-prefix=MODULE-PASS-ONE |
76 |
| - |
77 | 43 | define void @foo(i32 %arg) {
|
78 | 44 | call i32 asm "bswap $0", "=r,r"(i32 %arg)
|
79 | 45 | ret void
|
|
0 commit comments