Commit ecb9d94
authored
[KnownBits] Speed up conflict handling in ForeachKnownBits in unit test. (#94943)
Exit early if known bits have a conflict. This gives me a ~15% speed up
when running this in my Release+Asserts build:
$ unittests/Support/SupportTests
--gtest_filter=KnownBitsTest.*Exhaustive1 parent ae9d89d commit ecb9d94
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
41 | 47 | | |
42 | 48 | | |
43 | 49 | | |
| |||
0 commit comments