[PATCH] D12882: [SimplifyCFG] do not speculate fdiv by default; it's expensive (PR24818)

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 16 15:27:50 PDT 2015


joker.eph added a subscriber: joker.eph.
joker.eph added a comment.

Is it only an "optimization fix"? The "correctness" fix for PR24343 seems to requires that an fdiv can't be speculated with FPE enabled and if the denominator is not zero, right?
It seems that LLVM Optimizations are still not very friendly with respect to that, there were some patches at some point last year but it seems they have not been integrated: http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20141110/243778.html


http://reviews.llvm.org/D12882





More information about the llvm-commits mailing list