Commit 42775a4
authored
[ControlHeightReduction] Add assert to avoid underflow (llvm#116339)
`NumCHRedBranches - 1` is used later, we should add an assertion to make
sure it will not underflow.1 parent 3291372 commit 42775a4
File tree
1 file changed
+1
-0
lines changed- llvm/lib/Transforms/Instrumentation
1 file changed
+1
-0
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1862 | 1862 | | |
1863 | 1863 | | |
1864 | 1864 | | |
| 1865 | + | |
1865 | 1866 | | |
1866 | 1867 | | |
1867 | 1868 | | |
| |||
0 commit comments