[PATCH] D31806: [SimplifyLibCalls] Fix infinite loop with fast-math optimization.

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 18 12:34:16 PDT 2017


efriedma added a comment.

> The test has been updated to only include the passes that trigger the generation of the infinite loop. Is this OK, or should the test only focus on the instcombine pass not substituting the exp with expf?

Ideally, just an instcombine test; the behavior of the inliner isn't really relevant here (and it's easy to get confused by the pass ordering in "-inline -instcombine -tailcallelim").


https://reviews.llvm.org/D31806





More information about the llvm-commits mailing list