llvm-project
69c43468 - [LoopUnrollAnalyzer] Don't simplify signed pointer comparison

Commit
1 year ago
[LoopUnrollAnalyzer] Don't simplify signed pointer comparison We're generally not able to simplify signed pointer comparisons (because we don't have no-wrap flags that would permit it), so we shouldn't pretend that we can in the cost model. The unsigned comparison case is also not modelled correctly, as explained in the added comment. As this is a cost model inaccuracy at worst, I'm leaving it alone for now.
Author
Committer
Parents
Loading