Skip to content

Commit

Permalink
[LowerTypes] refactor away the opsToErase vector, NFC.
Browse files Browse the repository at this point in the history
There is only ever one op to erase, the current op being visited.
Instead of conditionally adding the op to the vector, change the
visitor to return true when the op should be erased.  This just
slightly strength reduces the logic to make it more clear what
is happening.
  • Loading branch information
lattner committed Nov 1, 2021
1 parent 50b3d8f commit 326dd3d
Showing 1 changed file with 96 additions and 100 deletions.
Loading

0 comments on commit 326dd3d

Please sign in to comment.