forked from OSchip/llvm-project
Add operators for FP -> INT conversions and back.
llvm-svn: 19368
This commit is contained in:
parent
8da67af979
commit
6209f1d294
|
@ -104,6 +104,16 @@ namespace ISD {
|
|||
// TRUNCATE - Completely drop the high bits.
|
||||
TRUNCATE,
|
||||
|
||||
// [SU]INT_TO_FP - These operators convert integers (whose interpreted sign
|
||||
// depends on the first letter) to floating point.
|
||||
SINT_TO_FP,
|
||||
UINT_TO_FP,
|
||||
|
||||
// FP_TO_[US]INT - Convert a floating point value to a signed or unsigned
|
||||
// integer.
|
||||
FP_TO_SINT,
|
||||
FP_TO_UINT,
|
||||
|
||||
// FP_ROUND - Perform a rounding operation from the current
|
||||
// precision down to the specified precision.
|
||||
FP_ROUND,
|
||||
|
|
Loading…
Reference in New Issue