From patchwork Sun Feb 21 22:28:32 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luc Van Oostenryck X-Patchwork-Id: 12097739 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5D0F5C433E6 for ; Sun, 21 Feb 2021 22:29:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2A3D964EB4 for ; Sun, 21 Feb 2021 22:29:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231754AbhBUW3V (ORCPT ); Sun, 21 Feb 2021 17:29:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51622 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231667AbhBUW3U (ORCPT ); Sun, 21 Feb 2021 17:29:20 -0500 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B7AF2C061786 for ; Sun, 21 Feb 2021 14:28:39 -0800 (PST) Received: by mail-ej1-x62b.google.com with SMTP id do6so26238587ejc.3 for ; Sun, 21 Feb 2021 14:28:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=5ARYQ75+cFLLlYvbDh1z4/qaZZWa+HKeZ55Q1ba6Tm0=; b=okpx/bgLISs37bHfWecfFbc7m2EitlO/q14vhAEiFhgEECaQfu1ZE1QLjHkaAWmvqA dmsYzYahzdZBFwJB5Qn7m8KkIk19CdeMDtRfkY4EWGVoD3ngVoGjEmPj5foe/fbigB/v HAopHHzeruC7a3M5s37sIdT3dVpN+v6T1TzJfV4i0/4DT2ieuoXYOBQztAA4JSsycKlM IfFcMYcMcXCgVtPvjr7B9huxhwW6oqBXRVdjnmtjWf/ewppYhopPGtNWIaoQHPrxQreB Na1p9YikyO5vwrODmpwaSqmQzDYFX7rVxiUNF7yujOiQAr0qknqPNAC36DuyCSbnpojr y4IQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=5ARYQ75+cFLLlYvbDh1z4/qaZZWa+HKeZ55Q1ba6Tm0=; b=TIRA5EcpAsYyjki3DfQ+L2jiD43laqkpRv+QcLwReYrb5i/jrkFooUpGCm2rnCHsKM U9Mo9kf27bl0XAOKLFmIaRD21x+DowMgoaAtE0gNYT+Hxzs1Da+har51uGZx5la6QV5x Zto8XRx5gNGkGrsuPl30xw41imRC0aOzWnAm+7l88tuikRYSP9iH8XNvh4PqZXzGd98W ExSmbz9enRTCLJNyP0x3Dk36PJq+UlQSpsSLm1IbnQFhB3+oYywacUIVMJSu1KU452ui NkJnfkp3+r7o/jxw1WNIYDzyS//yteHgUCS0rC6ZwO2u1SZVedxPPDGLoLhzzwLrM3eV Iu8g== X-Gm-Message-State: AOAM533VOyhbMzOQlsuBnFcayIMUtUMRfu7dMqaZ3DfCgdQTLmDBpdbw VifeYsVjWlJbhpsJxC+gveUhVc9C1VE= X-Google-Smtp-Source: ABdhPJyZ7+CZ+8vXgZrnGfGoD8j4n2AQ7PidItnsJdOF+vSjTDCoTgCs7POH83suOew34Husfff0+A== X-Received: by 2002:a17:906:a157:: with SMTP id bu23mr7665510ejb.491.1613946518560; Sun, 21 Feb 2021 14:28:38 -0800 (PST) Received: from localhost.localdomain ([2a02:a03f:b7fe:f700:9463:3f6a:e4eb:cf54]) by smtp.gmail.com with ESMTPSA id d6sm297744ejr.59.2021.02.21.14.28.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Feb 2021 14:28:38 -0800 (PST) From: Luc Van Oostenryck To: linux-sparse@vger.kernel.org Cc: Luc Van Oostenryck Subject: [PATCH 1/3] asm: add testcase for problem with output addresses Date: Sun, 21 Feb 2021 23:28:32 +0100 Message-Id: <20210221222834.7974-2-luc.vanoostenryck@gmail.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210221222834.7974-1-luc.vanoostenryck@gmail.com> References: <20210221222834.7974-1-luc.vanoostenryck@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-sparse@vger.kernel.org The addresses needed by memory output operands are linearized (and placed) after the ASM instruction needing them. So, add a test case for this. Signed-off-by: Luc Van Oostenryck --- validation/linear/asm-out0.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 validation/linear/asm-out0.c diff --git a/validation/linear/asm-out0.c b/validation/linear/asm-out0.c new file mode 100644 index 000000000000..64d154ed5ad7 --- /dev/null +++ b/validation/linear/asm-out0.c @@ -0,0 +1,26 @@ +static void asm_out0(void) +{ + int mem; + asm volatile ("[%1] <= 0" : "=m" (mem)); +} + +/* + * check-name: asm-out0 + * check-command: test-linearize -fdump-ir $file + * check-known-to-fail + * + * check-output-start +asm_out0: +.L0: + + symaddr.64 %r1 <- mem + asm "[%1] <= 0" + out: "=m" (%r1) + br .L1 + +.L1: + ret + + + * check-output-end + */ From patchwork Sun Feb 21 22:28:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luc Van Oostenryck X-Patchwork-Id: 12097743 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7DC20C433DB for ; Sun, 21 Feb 2021 22:29:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4695164EBE for ; Sun, 21 Feb 2021 22:29:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231667AbhBUW3V (ORCPT ); Sun, 21 Feb 2021 17:29:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51628 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231752AbhBUW3U (ORCPT ); Sun, 21 Feb 2021 17:29:20 -0500 Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5EC77C06178A for ; Sun, 21 Feb 2021 14:28:40 -0800 (PST) Received: by mail-ed1-x52e.google.com with SMTP id h25so5947238eds.4 for ; Sun, 21 Feb 2021 14:28:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=FaQKWBtND5iMGgbPJRM56FQVBFx5cBOmcDOmGicPlYk=; b=NcvAAh9SQcyoeW3j8oAeq2sKM328dGDzt1O5s/x3SpvI5bkyfCfol2qM8LJ9uLOeCu Gw5okyeOvKMPqLo4LPQVK9PmvBfdGEST/aaBv43PuWIjp4uV/eGOQjM2temM2NFJny+a 5Rb+WpCEc4W00m3+f7IN2ynF85+5q7nftjrtyQpiru85iR+rUOVdd0bvKmCFFdTJErZj 9dlkErPcwXNwmG/VvhkZyiP5BQEJxoJfahI7qUdLCks8HI/3ER06nCQY0SddmGw8i/0y 27bHDTOoIXz698QWaA7hDYGE0QyDamYxeelJZywYAbh8i5keNEIUY9BVvPRXJMvJZJ0N 0DQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=FaQKWBtND5iMGgbPJRM56FQVBFx5cBOmcDOmGicPlYk=; b=KbdnY4qIn1xg2zg/MECel28m1v17yRsdNiggsYt+RfUIOOgzQQz3bgBn25f3TRn1R0 a8LbKVFxarr0skbViyrkoogYo6SUbnj3treM2ROrPDn6v2CJ3WHdMsn5ANp4hhqgJrW0 DwYXbAmXyIidcJKfepvkkzL/ImzTRyNyJNxKXdHFUfPz0PpqxVz9XAjJE03twJ4TpG46 9PoVOWDipARKrAuLY13CJtFnzzCU26I4d/QjZpbfH/GeUROQly0kR4iRyM4peRsZdCqj WVSjjmEcv4/UyIyyIp5JXYP/9EezMUs5/oI7ZvrmaRz32Mzyz2k0HrWsAgDsxYSczJLe KoLA== X-Gm-Message-State: AOAM533QI+j6ZagzKifTM+5s7CfKRujaX3pi3w1yLe3Yf000FtbcZwt0 LpQzLo4hAN1nbaJ3TKlhl1Gnfz2thfw= X-Google-Smtp-Source: ABdhPJzIejC709m9pCKrMqDa/WTWPqRLV/pg8Swx70DAy+XEeh7juwKSBqu5t7nlJIXbj7WcMiR7tg== X-Received: by 2002:a05:6402:160b:: with SMTP id f11mr3009574edv.225.1613946519123; Sun, 21 Feb 2021 14:28:39 -0800 (PST) Received: from localhost.localdomain ([2a02:a03f:b7fe:f700:9463:3f6a:e4eb:cf54]) by smtp.gmail.com with ESMTPSA id d6sm297744ejr.59.2021.02.21.14.28.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Feb 2021 14:28:38 -0800 (PST) From: Luc Van Oostenryck To: linux-sparse@vger.kernel.org Cc: Luc Van Oostenryck Subject: [PATCH 2/3] asm: factor out add_asm_rule() from add_asm_{in,out}put() Date: Sun, 21 Feb 2021 23:28:33 +0100 Message-Id: <20210221222834.7974-3-luc.vanoostenryck@gmail.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210221222834.7974-1-luc.vanoostenryck@gmail.com> References: <20210221222834.7974-1-luc.vanoostenryck@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-sparse@vger.kernel.org The functions add_asm_input() and add_asm_output() are very similar. So, factorize out the common part. Signed-off-by: Luc Van Oostenryck --- linearize.c | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/linearize.c b/linearize.c index 7a6f745fd4fc..6efa47492869 100644 --- a/linearize.c +++ b/linearize.c @@ -2127,22 +2127,27 @@ static pseudo_t linearize_range(struct entrypoint *ep, struct statement *stmt) ALLOCATOR(asm_rules, "asm rules"); ALLOCATOR(asm_constraint, "asm constraints"); -static void add_asm_input(struct entrypoint *ep, struct instruction *insn, struct asm_operand *op) +static void add_asm_rule(struct instruction *insn, struct asm_constraint_list **list, struct asm_operand *op, pseudo_t pseudo) { - pseudo_t pseudo = linearize_expression(ep, op->expr); struct asm_constraint *rule = __alloc_asm_constraint(0); - + rule->is_memory = op->is_memory; rule->ident = op->name; rule->constraint = op->constraint ? op->constraint->string->data : ""; use_pseudo(insn, pseudo, &rule->pseudo); - add_ptr_list(&insn->asm_rules->inputs, rule); + add_ptr_list(list, rule); +} + +static void add_asm_input(struct entrypoint *ep, struct instruction *insn, struct asm_operand *op) +{ + pseudo_t pseudo = linearize_expression(ep, op->expr); + + add_asm_rule(insn, &insn->asm_rules->inputs, op, pseudo); } static void add_asm_output(struct entrypoint *ep, struct instruction *insn, struct asm_operand *op) { struct access_data ad = { NULL, }; pseudo_t pseudo; - struct asm_constraint *rule; if (op->is_memory) { pseudo = linearize_expression(ep, op->expr); @@ -2152,12 +2157,8 @@ static void add_asm_output(struct entrypoint *ep, struct instruction *insn, stru pseudo = alloc_pseudo(insn); linearize_store_gen(ep, pseudo, &ad); } - rule = __alloc_asm_constraint(0); - rule->is_memory = op->is_memory; - rule->ident = op->name; - rule->constraint = op->constraint ? op->constraint->string->data : ""; - use_pseudo(insn, pseudo, &rule->pseudo); - add_ptr_list(&insn->asm_rules->outputs, rule); + + add_asm_rule(insn, &insn->asm_rules->outputs, op, pseudo); } static pseudo_t linearize_asm_statement(struct entrypoint *ep, struct statement *stmt) From patchwork Sun Feb 21 22:28:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luc Van Oostenryck X-Patchwork-Id: 12097741 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 956E7C433E9 for ; Sun, 21 Feb 2021 22:29:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6484B60241 for ; Sun, 21 Feb 2021 22:29:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231764AbhBUW32 (ORCPT ); Sun, 21 Feb 2021 17:29:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231760AbhBUW3V (ORCPT ); Sun, 21 Feb 2021 17:29:21 -0500 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F4235C06178B for ; Sun, 21 Feb 2021 14:28:40 -0800 (PST) Received: by mail-ej1-x632.google.com with SMTP id lu16so26138118ejb.9 for ; Sun, 21 Feb 2021 14:28:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=0PgdXL2BuAIuT83mrcNy/xHTa0ZWjZnwJHLlvtwZTWY=; b=XmNtqSIOk6pk23xd3h1/SVi6v2SYQF+Uvl/IiwHgbaze4yFS5KXxczrwnehrmYC3Dp byyLk/bjDYsgk1t0X7CdDnbLKT5R0nuxvrtRYmBKPLKYniN9FK8KsM3VKgi51cs30xGf 1hY2RyrFHPIW509DwgVuvcz/L/7wgJbXYmIb2M8XmhbXMw15BVqd+xLzEdopY8FSpydG ji3USZymbhxbPS4ouszlr1n7KcmnTiFsljnAcI8StPwjSVzn2Z8oQ5Bz7ndEIoUX/867 vyu1aP7ZkU7JfX+QfnW4pLEasgjlZNjSZx7BgeJLJ6XrAO50v+zn9YxXJ1cLEc0NABvH Oeng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=0PgdXL2BuAIuT83mrcNy/xHTa0ZWjZnwJHLlvtwZTWY=; b=PUIfLcEMXJlfGwV3MVY5S8Yhm2YLUfHOTtqctz/5e6SoF9NzE/KrD1N9U01wbjzRPm uo/L3v6g61DMFV/6Vb/qFCMa3ZKBHdtLSwfKwwjhWX3KbOi1umkcDPTTEps3OzDY5/Ug 7yaVogUc1EOxF972Yi8IOQrJfsIE3zYCKy+i6MNFTv80hk1KuxBeAmlzgdp5i3KVIlmK K2SBeNh3rWVsIUGHE/u9w45wg5D6M01fMuOvprE6NESaWj+0r0ndf7D7uTJG872ThTL2 rk44utubL6vKHbadLe+JsUSyA73Av5HQZ/XCbugtVV6wZ8hcxC+IC5Bp/GyPoPisHEs8 p3PQ== X-Gm-Message-State: AOAM532vsi9FrWZIEGDvc4EpZT9tJRnmpFpCzfbeXYPutKDbdN9hbEOE 9N2rv0C6itmaz6vh4xR6L5zQtyXpEwI= X-Google-Smtp-Source: ABdhPJy6dkFubWn4RFVEJtFb9EZytUdECrCDmYf6bHbto+dF2nck85mYGALQ41VlOU4+SzmUU2jE8Q== X-Received: by 2002:a17:907:75e7:: with SMTP id jz7mr6867253ejc.158.1613946519811; Sun, 21 Feb 2021 14:28:39 -0800 (PST) Received: from localhost.localdomain ([2a02:a03f:b7fe:f700:9463:3f6a:e4eb:cf54]) by smtp.gmail.com with ESMTPSA id d6sm297744ejr.59.2021.02.21.14.28.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Feb 2021 14:28:39 -0800 (PST) From: Luc Van Oostenryck To: linux-sparse@vger.kernel.org Cc: Luc Van Oostenryck Subject: [PATCH 3/3] asm: output *memory* operands need their address as *input* Date: Sun, 21 Feb 2021 23:28:34 +0100 Message-Id: <20210221222834.7974-4-luc.vanoostenryck@gmail.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210221222834.7974-1-luc.vanoostenryck@gmail.com> References: <20210221222834.7974-1-luc.vanoostenryck@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-sparse@vger.kernel.org The addresses needed by memory output operands are linearized (and placed) after the ASM instruction needing them. So, split add_asm_output() in 2 parts: one generating only the addresses for memory operands and called before issuing the body, and another one doing the usual copy of (non-memory) output operands back into their corresponding variables. Signed-off-by: Luc Van Oostenryck --- linearize.c | 31 +++++++++++++++++++++++-------- validation/linear/asm-out0.c | 1 - 2 files changed, 23 insertions(+), 9 deletions(-) diff --git a/linearize.c b/linearize.c index 6efa47492869..33d641b40de6 100644 --- a/linearize.c +++ b/linearize.c @@ -2144,19 +2144,29 @@ static void add_asm_input(struct entrypoint *ep, struct instruction *insn, struc add_asm_rule(insn, &insn->asm_rules->inputs, op, pseudo); } +static void add_asm_output_address(struct entrypoint *ep, struct instruction *insn, struct asm_operand *op) +{ + pseudo_t pseudo; + + if (!op->is_memory) + return; + + pseudo = linearize_expression(ep, op->expr); + add_asm_rule(insn, &insn->asm_rules->outputs, op, pseudo); +} + static void add_asm_output(struct entrypoint *ep, struct instruction *insn, struct asm_operand *op) { struct access_data ad = { NULL, }; pseudo_t pseudo; - if (op->is_memory) { - pseudo = linearize_expression(ep, op->expr); - } else { - if (!linearize_address_gen(ep, op->expr, &ad)) - return; - pseudo = alloc_pseudo(insn); - linearize_store_gen(ep, pseudo, &ad); - } + if (op->is_memory) + return; + + if (!linearize_address_gen(ep, op->expr, &ad)) + return; + pseudo = alloc_pseudo(insn); + linearize_store_gen(ep, pseudo, &ad); add_asm_rule(insn, &insn->asm_rules->outputs, op, pseudo); } @@ -2184,6 +2194,11 @@ static pseudo_t linearize_asm_statement(struct entrypoint *ep, struct statement add_asm_input(ep, insn, op); } END_FOR_EACH_PTR(op); + /* ... and the addresses for memory outputs */ + FOR_EACH_PTR(stmt->asm_outputs, op) { + add_asm_output_address(ep, insn, op); + } END_FOR_EACH_PTR(op); + add_one_insn(ep, insn); /* Assign the outputs */ diff --git a/validation/linear/asm-out0.c b/validation/linear/asm-out0.c index 64d154ed5ad7..a8e0be693d87 100644 --- a/validation/linear/asm-out0.c +++ b/validation/linear/asm-out0.c @@ -7,7 +7,6 @@ static void asm_out0(void) /* * check-name: asm-out0 * check-command: test-linearize -fdump-ir $file - * check-known-to-fail * * check-output-start asm_out0: