https://gcc.gnu.org/g:232f2ca5dd7f15a7ea4320b483803b028d9c5d5f

commit r17-1045-g232f2ca5dd7f15a7ea4320b483803b028d9c5d5f
Author: Jeff Law <[email protected]>
Date:   Sat May 30 11:01:14 2026 -0600

    Fix scan-asm failure for loongarch64 after recent ext-dce changes
    
    The recent changes to ext-dce to promote narrow operations into wider modes
    when the extended bits are dead slightly twiddled the output for a 
loongarch64
    test.  This just adjusts the expected output.
    
    Pushing to the trunk.
    
    gcc/testsuite
    
            * gcc.target/loongarch/la64/mul-const-reduction.c: Adjust expected
            output.

Diff:
---
 gcc/testsuite/gcc.target/loongarch/la64/mul-const-reduction.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.target/loongarch/la64/mul-const-reduction.c 
b/gcc/testsuite/gcc.target/loongarch/la64/mul-const-reduction.c
index 02d9a4876d8b..7718be87fb63 100644
--- a/gcc/testsuite/gcc.target/loongarch/la64/mul-const-reduction.c
+++ b/gcc/testsuite/gcc.target/loongarch/la64/mul-const-reduction.c
@@ -1,6 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -mtune=la464" } */
-/* { dg-final { scan-assembler "alsl\.w" } } */
+/* { dg-final { scan-assembler "alsl\.d" } } */
 /* { dg-final { scan-assembler "slli\.w" } } */
 /* { dg-final { scan-assembler-not "mul\.w" } } */

Reply via email to