diff options
author | Petar Jovanovic <petar.jovanovic@imgtec.com> | 2015-12-14 20:30:02 +0000 |
---|---|---|
committer | Petar Jovanovic <petar.jovanovic@imgtec.com> | 2015-12-14 20:30:02 +0000 |
commit | 2f264c31d3967e7962bd44ae79f0876f58268aa3 (patch) | |
tree | 7d2884f342b176b0b1e420f42bbafcd90884335d | |
parent | 1d07869c29b1631b74d9ee2b4e66e66ce35fd2e0 (diff) | |
download | bcm5719-llvm-2f264c31d3967e7962bd44ae79f0876f58268aa3.tar.gz bcm5719-llvm-2f264c31d3967e7962bd44ae79f0876f58268aa3.zip |
[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.
llvm-svn: 255539
-rw-r--r-- | clang/test/CodeGen/ppc-sfvarargs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGen/ppc-sfvarargs.c b/clang/test/CodeGen/ppc-sfvarargs.c index a60dc3c41be..924d9c5fe4c 100644 --- a/clang/test/CodeGen/ppc-sfvarargs.c +++ b/clang/test/CodeGen/ppc-sfvarargs.c @@ -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 |