Displaying 3 results from an estimated 3 matches for "am1tpp".
2019 Oct 31
2
pointer arithmetic with address space attribute not working
...t lists.llvm.org>
Sent: Wednesday, October 30, 2019 20:18
To: LLVM Developers Mailing List; Y Song
Cc: Alexei Starovoitov
Subject: Re: [llvm-dev] pointer arithmetic with address space attribute not working
What clang version is that?
I tried to reproduce it but failed: https://godbolt.org/z/AM1tPp
________________________________________
From: llvm-dev <llvm-dev-bounces at lists.llvm.org> on behalf of Y Song via llvm-dev <llvm-dev at lists.llvm.org>
Sent: Wednesday, October 30, 2019 17:56
To: LLVM Developers Mailing List
Cc: Alexei Starovoitov
Subject: [llvm-dev] pointer arithme...
2019 Oct 30
2
pointer arithmetic with address space attribute not working
Hi,
I have a case that for pointer with address space attribute, pointer
arithmetic is not work.
For example,
-bash-4.4$ cat test.c
#define __user __attribute__((address_space(1)))
void __user * test(void __user *arg) {
#ifdef ADD
return arg + 4;
#else
return arg;
#endif
}
-bash-4.4$
-bash-4.4$ clang -g -c test.c
-bash-4.4$ clang -g -c -DADD test.c
clang-10: ../lib/IR/Instructions.cpp:2749:
2019 Oct 31
2
pointer arithmetic with address space attribute not working
...dnesday, October 30, 2019 20:18
> To: LLVM Developers Mailing List; Y Song
> Cc: Alexei Starovoitov
> Subject: Re: [llvm-dev] pointer arithmetic with address space attribute not working
>
> What clang version is that?
> I tried to reproduce it but failed: https://godbolt.org/z/AM1tPp
>
> ________________________________________
> From: llvm-dev <llvm-dev-bounces at lists.llvm.org> on behalf of Y Song via llvm-dev <llvm-dev at lists.llvm.org>
> Sent: Wednesday, October 30, 2019 17:56
> To: LLVM Developers Mailing List
> Cc: Alexei Starovoitov
> S...