[PATCH] D44909: [DAGCombine] (float)((int) f) --> ftrunc (PR36617)

Steve Canon via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 26 17:08:15 PDT 2018


scanon added a comment.

Two questions, to which I do not know the answer:

(a) Are the semantics of ISD::FP_TO_[US]INT for out-of-range values specified anywhere? The do not seem to be, but maybe I'm just missing it.
(b) Are there test cases that make sure this transform is *not* applied for armv7 and x86 -sse4.1?


https://reviews.llvm.org/D44909





More information about the llvm-commits mailing list