Add unary operator to convert unsigned integer to float
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 26 Mar 2010 23:11:48 +0000 (16:11 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 26 Mar 2010 23:11:48 +0000 (16:11 -0700)
ir.h

diff --git a/ir.h b/ir.h
index 63ae0bc..04ac0b3 100644 (file)
--- a/ir.h
+++ b/ir.h
@@ -229,6 +229,7 @@ enum ir_expression_operation {
    ir_unop_log,
    ir_unop_f2i,      /**< Float-to-integer conversion. */
    ir_unop_i2f,      /**< Integer-to-float conversion. */
+   ir_unop_u2f,      /**< Unsigned-to-float conversion. */
 
    /**
     * \name Unary floating-point rounding operations.