Commit 35ecb05
committed
[ARM] Use DenseSet instead of DenseMap. NFC
The value in the map is set to "true" when something is added to
the map.
Techncally this:
if (!DefRegs.contains(Reg))
will set the value in the map to false if it didn't alrady exist,
and this is used to indicate the value wasn't in the map. This only
occurs after all the "true" values have already been added to the map.1 parent 7b00b0b commit 35ecb05
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11366 | 11366 | | |
11367 | 11367 | | |
11368 | 11368 | | |
11369 | | - | |
| 11369 | + | |
11370 | 11370 | | |
11371 | 11371 | | |
11372 | 11372 | | |
11373 | 11373 | | |
11374 | | - | |
| 11374 | + | |
11375 | 11375 | | |
11376 | 11376 | | |
11377 | 11377 | | |
| |||
11386 | 11386 | | |
11387 | 11387 | | |
11388 | 11388 | | |
11389 | | - | |
| 11389 | + | |
11390 | 11390 | | |
11391 | 11391 | | |
11392 | 11392 | | |
| |||
0 commit comments