(dg-options): Use -O2 -fdump-rtl-ce1.
(dg-final): Scan ce1 RTL dump instead of asm dump.
From-SVN: r270234
+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 */
x = ~x;
return x;
}
+
+/* { dg-final { scan-rtl-dump "succeeded through noce_try_abs" "ce1" } } */