Add conversion of bool to float as an IR operation to match int to float.

This commit is contained in:
Eric Anholt
2010-04-02 02:13:43 -10:00
committed by Ian Romanick
parent 106d122318
commit dc58b3f8cc
5 changed files with 9 additions and 2 deletions

View File

@@ -100,6 +100,8 @@ void ir_print_visitor::visit(ir_expression *ir)
"log2",
"f2i",
"i2f",
"f2b",
"b2f",
"u2f",
"trunc",
"ceil",