diff options
| author | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2016-02-18 20:30:40 +0000 |
|---|---|---|
| committer | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2016-02-18 20:30:40 +0000 |
| commit | da3f20e88ea6ddb2470a9656a0e5dc214fe83407 (patch) | |
| tree | 016f0cf74375afaff7e279689cbfaf4068c82619 | |
| parent | cd58bd6200ca8b5141fff482de3e9b38673b0d2e (diff) | |
| download | bcm5719-llvm-da3f20e88ea6ddb2470a9656a0e5dc214fe83407.tar.gz bcm5719-llvm-da3f20e88ea6ddb2470a9656a0e5dc214fe83407.zip | |
Missed a spot in r261251, also ignore attributes on all pointer parameters
llvm-svn: 261253
| -rw-r--r-- | clang/test/CodeGen/ms-intrinsics.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGen/ms-intrinsics.c b/clang/test/CodeGen/ms-intrinsics.c index bbe6e6411e8..d05adfd696b 100644 --- a/clang/test/CodeGen/ms-intrinsics.c +++ b/clang/test/CodeGen/ms-intrinsics.c @@ -18,7 +18,7 @@ void *test_InterlockedExchangePointer(void * volatile *Target, void *Value) { return _InterlockedExchangePointer(Target, Value); } -// CHECK: define{{.*}}i8* @test_InterlockedExchangePointer(i8** {{[a-z_ ]*}}%Target, i8* %Value){{.*}}{ +// CHECK: define{{.*}}i8* @test_InterlockedExchangePointer(i8** {{[a-z_ ]*}}%Target, i8* {{[a-z_ ]*}}%Value){{.*}}{ // CHECK: %[[TARGET:[0-9]+]] = bitcast i8** %Target to [[iPTR:i[0-9]+]]* // CHECK: %[[VALUE:[0-9]+]] = ptrtoint i8* %Value to [[iPTR]] // CHECK: %[[EXCHANGE:[0-9]+]] = atomicrmw xchg [[iPTR]]* %[[TARGET]], [[iPTR]] %[[VALUE]] seq_cst @@ -31,7 +31,7 @@ void *test_InterlockedCompareExchangePointer(void * volatile *Destination, return _InterlockedCompareExchangePointer(Destination, Exchange, Comparand); } -// CHECK: define{{.*}}i8* @test_InterlockedCompareExchangePointer(i8** nocapture %Destination, i8* %Exchange, i8* %Comparand){{.*}}{ +// CHECK: define{{.*}}i8* @test_InterlockedCompareExchangePointer(i8** {{[a-z_ ]*}}%Destination, i8* {{[a-z_ ]*}}%Exchange, i8* {{[a-z_ ]*}}%Comparand){{.*}}{ // CHECK: %[[DEST:[0-9]+]] = bitcast i8** %Destination to [[iPTR]]* // CHECK: %[[EXCHANGE:[0-9]+]] = ptrtoint i8* %Exchange to [[iPTR]] // CHECK: %[[COMPARAND:[0-9]+]] = ptrtoint i8* %Comparand to [[iPTR]] |

