From d6ec2508979b78a7d02b245fed4f4e455dc2029a Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Tue, 29 Aug 2023 08:04:32 +0900 Subject: [PATCH] [qfcc] Fix vector int tests These too needed a horizontal or. --- tools/qfcc/source/expr_bool.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/qfcc/source/expr_bool.c b/tools/qfcc/source/expr_bool.c index b5cd133d8..3602b4ecb 100644 --- a/tools/qfcc/source/expr_bool.c +++ b/tools/qfcc/source/expr_bool.c @@ -106,6 +106,9 @@ test_expr (expr_t *e) case ev_uint: case ev_int: case ev_short: + if (type->width > 1) { + e = new_horizontal_expr ('|', e, &type_int); + } if (!is_int(type_default)) { if (is_constant (e)) { return cast_expr (type_default, e);