Commit b0c8ec6
committed
[DebugInfo] Remove getPrevNonDebugInstruction
With the advent of intrinsic-less debug-info, we no longer need to scatter
calls to getPrevNonDebugInstruction around the codebase. Remove most of
them -- however there are one or two that have the "SkipPseudoOp" flag
turned on, indicating that those call-sites are intended to skip more than
just debug-info intrinsics.
To avoid making a functional change, I've renamed the method to
getPrevNonPseudoOpInstruction and left it in the positions that request
that behaviour using the SkipPseudoOp flag.1 parent de4b458 commit b0c8ec6
File tree
13 files changed
+19
-20
lines changed- llvm
- include/llvm
- IR
- Transforms/Utils
- lib
- CodeGen
- IR
- Transforms
- IPO
- InstCombine
- Instrumentation
- Scalar
- unittests/Frontend
13 files changed
+19
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
902 | 902 | | |
903 | 903 | | |
904 | 904 | | |
905 | | - | |
906 | | - | |
| 905 | + | |
| 906 | + | |
907 | 907 | | |
908 | | - | |
909 | | - | |
| 908 | + | |
910 | 909 | | |
911 | 910 | | |
912 | 911 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3015 | 3015 | | |
3016 | 3016 | | |
3017 | 3017 | | |
3018 | | - | |
| 3018 | + | |
3019 | 3019 | | |
3020 | 3020 | | |
3021 | 3021 | | |
| |||
3032 | 3032 | | |
3033 | 3033 | | |
3034 | 3034 | | |
3035 | | - | |
| 3035 | + | |
3036 | 3036 | | |
3037 | 3037 | | |
3038 | 3038 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
626 | 626 | | |
627 | 627 | | |
628 | 628 | | |
629 | | - | |
| 629 | + | |
630 | 630 | | |
631 | 631 | | |
632 | 632 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1236 | 1236 | | |
1237 | 1237 | | |
1238 | 1238 | | |
1239 | | - | |
| 1239 | + | |
1240 | 1240 | | |
1241 | | - | |
| 1241 | + | |
1242 | 1242 | | |
1243 | 1243 | | |
1244 | 1244 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2875 | 2875 | | |
2876 | 2876 | | |
2877 | 2877 | | |
2878 | | - | |
| 2878 | + | |
2879 | 2879 | | |
2880 | 2880 | | |
2881 | 2881 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3933 | 3933 | | |
3934 | 3934 | | |
3935 | 3935 | | |
3936 | | - | |
| 3936 | + | |
3937 | 3937 | | |
3938 | 3938 | | |
3939 | 3939 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3890 | 3890 | | |
3891 | 3891 | | |
3892 | 3892 | | |
3893 | | - | |
| 3893 | + | |
3894 | 3894 | | |
3895 | 3895 | | |
3896 | 3896 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3424 | 3424 | | |
3425 | 3425 | | |
3426 | 3426 | | |
3427 | | - | |
| 3427 | + | |
3428 | 3428 | | |
3429 | 3429 | | |
3430 | 3430 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1310 | 1310 | | |
1311 | 1311 | | |
1312 | 1312 | | |
1313 | | - | |
| 1313 | + | |
1314 | 1314 | | |
1315 | 1315 | | |
1316 | 1316 | | |
| |||
0 commit comments