diff options
author | Daniel Sanders <daniel.sanders@imgtec.com> | 2014-11-22 16:08:56 +0000 |
---|---|---|
committer | Daniel Sanders <daniel.sanders@imgtec.com> | 2014-11-22 16:08:56 +0000 |
commit | 8ff9e737af40dfc42cf3c4fa722acb1fb5e878a0 (patch) | |
tree | c1cc021ce0b2c10f69f6b652b28ea31c44de1ee9 /clang/test/CodeGenCXX/vla-lambda-capturing.cpp | |
parent | d8cd8f7b6ea236d3fefec3e50738645cf470712b (diff) | |
download | bcm5719-llvm-8ff9e737af40dfc42cf3c4fa722acb1fb5e878a0.tar.gz bcm5719-llvm-8ff9e737af40dfc42cf3c4fa722acb1fb5e878a0.zip |
Support matching signext attribute in vla-lambda-capturing test to appease clang-cmake-mips builder.
The Mips target adds the signext attribute to signed 32-bit integers in order
to support the N32/N64 correctly. Integers must be promoted to 64-bit bit on
these ABI's.
llvm-svn: 222617
Diffstat (limited to 'clang/test/CodeGenCXX/vla-lambda-capturing.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/vla-lambda-capturing.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/CodeGenCXX/vla-lambda-capturing.cpp b/clang/test/CodeGenCXX/vla-lambda-capturing.cpp index 4ad183d8cc1..e8fd0a1fd3a 100644 --- a/clang/test/CodeGenCXX/vla-lambda-capturing.cpp +++ b/clang/test/CodeGenCXX/vla-lambda-capturing.cpp @@ -70,11 +70,11 @@ void b(intptr_t n, T arg) { // CHECK-LABEL: @main int main() { - // CHECK: call void [[G]]([[INTPTR_T]] 1) + // CHECK: call void [[G]]([[INTPTR_T]] [[INTPTR_T_ATTR:(signext )?]]1) g((intptr_t)1); - // CHECK: call void [[F_INT:@.+]]([[INTPTR_T]] 1, [[INTPTR_T]] 2) + // CHECK: call void [[F_INT:@.+]]([[INTPTR_T]] [[INTPTR_T_ATTR]]1, [[INTPTR_T]] [[INTPTR_T_ATTR]]2) f((intptr_t)1, (intptr_t)2); - // CHECK: call void [[B_INT:@.+]]([[INTPTR_T]] 12, [[INTPTR_T]] 13) + // CHECK: call void [[B_INT:@.+]]([[INTPTR_T]] [[INTPTR_T_ATTR]]12, [[INTPTR_T]] [[INTPTR_T_ATTR]]13) b((intptr_t)12, (intptr_t)13); // CHECK: ret i32 0 return 0; |