Cleaned up and fix bugs in convert_rndsat node

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59025 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Mon P Wang
2008-11-11 05:40:06 +00:00
parent 935e8e9afe
commit 00ec49b6ba
3 changed files with 43 additions and 21 deletions

View File

@ -432,9 +432,10 @@ namespace ISD {
BIT_CONVERT,
// CONVERT_RNDSAT - This operator is used to support various conversions
// between various types (float, signed, unsigned) with rounding and
// saturation. NOTE: Avoid using this operator as most target don't support
// it and they might be removed. It takes the following arguments:
// between various types (float, signed, unsigned and vectors of those
// types) with rounding and saturation. NOTE: Avoid using this operator as
// most target don't support it and the operator might be removed in the
// future. It takes the following arguments:
// 0) value
// 1) dest type (type to convert to)
// 2) src type (type to convert from)