Don't rely on ConstantRange treating float operations using integer ranges.
Opencode custom FPto{SI,UI} operations.
Floating point support for ConstantRange is added in D78220
Paths
| Differential D78222
Transform/Float2Int: Don't rely on hack support for floating point type in ConstantRange Needs ReviewPublic Authored by jvesely on Apr 15 2020, 11:19 AM.
Details
Diff Detail
Event Timelinejvesely added a child revision: D78220: IR/ConstantRange: Add support for FP ranges.Apr 15 2020, 11:20 AM
Revision Contents
Diff 257768 llvm/lib/Transforms/Scalar/Float2Int.cpp
|