aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/synth-expr.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/synth/synth-expr.adb')
-rw-r--r--src/synth/synth-expr.adb7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/synth/synth-expr.adb b/src/synth/synth-expr.adb
index 5ace33ed3..caf0135df 100644
--- a/src/synth/synth-expr.adb
+++ b/src/synth/synth-expr.adb
@@ -784,6 +784,13 @@ package body Synth.Expr is
else
raise Internal_Error;
end if;
+ when Iir_Predefined_Array_Inequality =>
+ -- TODO: check size, handle non-vector.
+ if Is_Vector_Type (Ltype) then
+ return Synth_Compare (Id_Ne);
+ else
+ raise Internal_Error;
+ end if;
when Iir_Predefined_Array_Greater =>
-- TODO: check size, non-vector.
-- TODO: that's certainly not the correct operator.