forked from OSchip/llvm-project
[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
This commit is contained in:
parent
1d07869c29
commit
2f264c31d3
|
@ -12,6 +12,6 @@ void foo() {
|
||||||
double a;
|
double a;
|
||||||
test("test",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]+}} = and i8 %{{[0-9]+}}, -2
|
||||||
// CHECK: %{{[0-9]+}} = mul i8 %{{[0-9]+}}, 4
|
// CHECK: %{{[0-9]+}} = mul i8 %{{[0-9]+}}, 4
|
||||||
|
|
Loading…
Reference in New Issue