summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ir.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir.h b/ir.h
index 600a2cd78de..3ef37083697 100644
--- a/ir.h
+++ b/ir.h
@@ -432,7 +432,7 @@ public:
bool is_lvalue()
{
- return val->is_lvalue();
+ return val->is_lvalue() && !mask.has_duplicates;
}
ir_rvalue *val;