HomePhabricator

[ConstantFold] Fold fptoi.sat intrinsics

Authored by nikic on Sun, Jan 10, 8:07 AM.

Description

[ConstantFold] Fold fptoi.sat intrinsics

The APFloat::convertToInteger() API already implements the desired
saturation semantics.

Details

Committed
nikicSun, Jan 10, 8:37 AM
Parents
rGbdb748a0ab24: [ConstantFold] Add tests for fptoi.sat (NFC)
Branches
Unknown
Tags
Unknown