Commit f3cf5ca
committed
[TableGen] Add a DenseSet to track WriteRes that are referenced by some ReadAdvance. NFC
Use this to remove a linear scan from CodeGenProcModel::hasReadOfWrite.
This reduces build time of RISCVGenSubtargetInfo.inc on by machine
from ~6 seconds to ~3 seconds.1 parent 082b148 commit f3cf5ca
File tree
2 files changed
+7
-7
lines changed- llvm/utils/TableGen/Common
2 files changed
+7
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2129 | 2129 | | |
2130 | 2130 | | |
2131 | 2131 | | |
2132 | | - | |
| 2132 | + | |
2133 | 2133 | | |
2134 | 2134 | | |
2135 | 2135 | | |
2136 | 2136 | | |
2137 | 2137 | | |
2138 | 2138 | | |
| 2139 | + | |
| 2140 | + | |
2139 | 2141 | | |
2140 | 2142 | | |
2141 | 2143 | | |
| |||
2173 | 2175 | | |
2174 | 2176 | | |
2175 | 2177 | | |
2176 | | - | |
2177 | | - | |
2178 | | - | |
2179 | | - | |
2180 | | - | |
2181 | | - | |
| 2178 | + | |
2182 | 2179 | | |
2183 | 2180 | | |
2184 | 2181 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
253 | 256 | | |
254 | 257 | | |
255 | 258 | | |
| |||
0 commit comments