Oliver Schneider
|
411fcf58fd
|
Rename OptimizationFinder and don't propagate any borrows
|
2018-03-08 08:34:15 +01:00 |
|
Oliver Schneider
|
57ae890265
|
Simplify const prop checks through PlaceContext
|
2018-03-08 08:34:15 +01:00 |
|
Oliver Schneider
|
0462d092d2
|
Figure out const propgatable locals in a single pass
|
2018-03-08 08:34:14 +01:00 |
|
Oliver Schneider
|
ceb634a732
|
Update tests
|
2018-03-08 08:34:14 +01:00 |
|
Oliver Schneider
|
13c0dc56df
|
Only report bitshift lints on bitshift ops
|
2018-03-08 08:34:14 +01:00 |
|
Oliver Schneider
|
929a4cece5
|
Use IndexVec instead of FxHashMap
|
2018-03-08 08:34:14 +01:00 |
|
Oliver Schneider
|
8c8a433532
|
Merge const linting pass into const prop
|
2018-03-08 08:34:14 +01:00 |
|
Oliver Schneider
|
c568807989
|
Remove single field struct by just using the field
|
2018-03-08 08:34:13 +01:00 |
|
Oliver Schneider
|
4667346042
|
Remove the fragile const propagator and just do linting
|
2018-03-08 08:34:13 +01:00 |
|
Oliver Schneider
|
21554b96af
|
Fix ICE in const prop
|
2018-03-08 08:34:13 +01:00 |
|
Oliver Schneider
|
00c95b29bc
|
Revert all changes to the instcombine pass
|
2018-03-08 08:34:13 +01:00 |
|
Oliver Schneider
|
54615ec989
|
Split const prop into its own pass
|
2018-03-08 08:34:12 +01:00 |
|