This is an archive of the discontinued LLVM Phabricator instance.

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

Reviewers
spatel
Summary

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

Diff Detail