summaryrefslogtreecommitdiff
path: root/ir.cpp
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2010-04-21 23:47:07 -0700
committerIan Romanick <ian.d.romanick@intel.com>2010-04-28 15:42:07 -0700
commit9d290d786d702cfc5eb7b6aefd6cb5b2c946ab88 (patch)
tree0a65f0b0547cd41680c29b2a9fad180addeef2b1 /ir.cpp
parent3b96996b7eb6e3603a5f138177867c3e856e0dfa (diff)
Use "neg" when printing/reading unary negation rather than "-".
"-" is now only used for binary subtraction.
Diffstat (limited to 'ir.cpp')
-rw-r--r--ir.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir.cpp b/ir.cpp
index 3f4c40d0c9..63135e3553 100644
--- a/ir.cpp
+++ b/ir.cpp
@@ -111,7 +111,7 @@ ir_expression::get_num_operands(ir_expression_operation op)
static const char *const operator_strs[] = {
"~",
"!",
- "-",
+ "neg",
"abs",
"rcp",
"rsq",