Commit 51d63c03 by Uros Bizjak Committed by Uros Bizjak

* gcc.target/i386/ifcvt-onecmpl-abs-1.c

	(dg-options): Use -O2 -fdump-rtl-ce1.
	(dg-final): Scan ce1 RTL dump instead of asm dump.

From-SVN: r270234
parent 0360f9ad
2019-04-09 Uroš Bizjak <ubizjak@gmail.com>
* gcc.target/i386/ifcvt-onecmpl-abs-1.c
(dg-options): Use -O2 -fdump-rtl-ce1.
(dg-final): Scan ce1 RTL dump instead of asm dump.
2019-04-09 Matthew Malcomson <matthew.malcomson@arm.com>
PR target/90024
......
/* { dg-do compile } */
/* This test checks for if-conversion of one's complement
* abs function. */
/* { dg-options "-O -mtune=generic" } */
/* { dg-final { scan-assembler "cltd" } } */
/* { dg-final { scan-assembler "xor" } } */
/* { dg-options "-O2 -fdump-rtl-ce1" } */
/* Check code generation for one's complement version of abs */
......@@ -13,3 +9,5 @@ int onecmplabs(int x)
x = ~x;
return x;
}
/* { dg-final { scan-rtl-dump "succeeded through noce_try_abs" "ce1" } } */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment