Author: petarj
Date: Mon Dec 14 14:30:02 2015
New Revision: 255539

URL: http://llvm.org/viewvc/llvm-project?rev=255539&view=rev
Log:
[PowerPC] Fix test/CodeGen/ppc-sfvarargs

The issue seems to be that .ll file may either use number of register
value or alias %numUsedRegs, so the check needs to cover both cases.

This will hopefully fix the last regression introduced by r255515.

Modified:
    cfe/trunk/test/CodeGen/ppc-sfvarargs.c

Modified: cfe/trunk/test/CodeGen/ppc-sfvarargs.c
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/ppc-sfvarargs.c?rev=255539&r1=255538&r2=255539&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/ppc-sfvarargs.c (original)
+++ cfe/trunk/test/CodeGen/ppc-sfvarargs.c Mon Dec 14 14:30:02 2015
@@ -12,6 +12,6 @@ void foo() {
   double a;
   test("test",a);
 }
-// CHECK: %{{[0-9]+}} = add i8 %{{[0-9]+}}, 1
+// CHECK: %{{[0-9]+}} = add i8 %{{[0-9]+|numUsedRegs}}, 1
 // CHECK: %{{[0-9]+}} = and i8 %{{[0-9]+}}, -2
 // CHECK: %{{[0-9]+}} = mul i8 %{{[0-9]+}}, 4


_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to