Skip to content

Commit

Permalink
Remove the unused IntervalPartition analysis pass (llvm#88133)
Browse files Browse the repository at this point in the history
This removes the old legacy PM "intervals" analysis pass (aka
IntervalPartition). It also removes the associated Interval and
IntervalIterator help classes.

Reasons for removal:
1) The pass is not used by llvm-project (not even being tested by
   any regression tests).
2) Pass has not been ported to new pass manager, which at least
   indicates that it isn't used by the middle-end.
3) ASan reports heap-use-after-free on
      ++I;  // After the first one...
   even if false is passed to intervals_begin. Not sure if that is
   a false positive, but it makes the code a bit less trustworthy.
  • Loading branch information
bjope authored Apr 9, 2024
1 parent d3016aa commit 5d9d740
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 676 deletions.
138 changes: 0 additions & 138 deletions llvm/include/llvm/Analysis/Interval.h

This file was deleted.

Loading

0 comments on commit 5d9d740

Please sign in to comment.