Displaying 7 results from an estimated 7 matches for "memsetpattern".
Did you mean:
memset_pattern
2018 Apr 19
5
[cfe-dev] RFC: Implementing -fno-delete-null-pointer-checks in clang
...nitely want to keep.
Just a quick example from grepping:
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
...........
// Don't create memset_pattern16s with address spaces.
StorePtr->getType()->getPointerAddressSpace() == 0 &&
(PatternValue = getMemSetPatternValue(StoredVal, DL))) {
// It looks like we can use PatternValue!
return LegalStoreKind::MemsetPattern;
}
Even worse, Sanitizers do NOT work with address spaces which is a big deal
breaker IMO.
Since address spaces and null pointers are really orthogonal issues, I
would prefer to
not co...
2018 Apr 28
0
[cfe-dev] RFC: Implementing -fno-delete-null-pointer-checks in clang
...t a quick example from grepping:
> lib/Transforms/Scalar/LoopIdiomRecognize.cpp
> ...........
> // Don't create memset_pattern16s with address spaces.
> StorePtr->getType()->getPointerAddressSpace() == 0 &&
> (PatternValue = getMemSetPatternValue(StoredVal, DL))) {
> // It looks like we can use PatternValue!
> return LegalStoreKind::MemsetPattern;
> }
>
> Even worse, Sanitizers do NOT work with address spaces which is a big deal
> breaker IMO.
IMO fixing these seems less engineering overhead in the long ter...
2018 Apr 30
2
[cfe-dev] RFC: Implementing -fno-delete-null-pointer-checks in clang
...epping:
> > lib/Transforms/Scalar/LoopIdiomRecognize.cpp
> > ...........
> > // Don't create memset_pattern16s with address spaces.
> > StorePtr->getType()->getPointerAddressSpace() == 0 &&
> > (PatternValue = getMemSetPatternValue(StoredVal, DL))) {
> > // It looks like we can use PatternValue!
> > return LegalStoreKind::MemsetPattern;
> > }
> >
> > Even worse, Sanitizers do NOT work with address spaces which is a big
> deal
> > breaker IMO.
>
> IMO fixing these see...
2018 Apr 30
4
[cfe-dev] RFC: Implementing -fno-delete-null-pointer-checks in clang
...from grepping:
>> lib/Transforms/Scalar/LoopIdiomRecognize.cpp
>> ...........
>> // Don't create memset_pattern16s with address spaces.
>> StorePtr->getType()->getPointerAddressSpace() == 0 &&
>> (PatternValue = getMemSetPatternValue(StoredVal, DL))) {
>> // It looks like we can use PatternValue!
>> return LegalStoreKind::MemsetPattern;
>> }
>>
>> Even worse, Sanitizers do NOT work with address spaces which is a big deal
>> breaker IMO.
>
> IMO fixing these seems less engi...
2018 Apr 30
0
[cfe-dev] RFC: Implementing -fno-delete-null-pointer-checks in clang
...> lib/Transforms/Scalar/LoopIdiomRecognize.cpp
> >> ...........
> >> // Don't create memset_pattern16s with address spaces.
> >> StorePtr->getType()->getPointerAddressSpace() == 0 &&
> >> (PatternValue = getMemSetPatternValue(StoredVal, DL))) {
> >> // It looks like we can use PatternValue!
> >> return LegalStoreKind::MemsetPattern;
> >> }
> >>
> >> Even worse, Sanitizers do NOT work with address spaces which is a big
> deal
> >> breaker IMO.
> >...
2018 Apr 19
0
[cfe-dev] RFC: Implementing -fno-delete-null-pointer-checks in clang
On 19 April 2018 at 22:36, Manoj Gupta via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> I was looking around for the cases where AddrSpace !=0 are checked. Seems
> like there are a bunch of optimizations that will fail to apply for non zero
> address spaces.
Isn't that exactly what we want? Did you look in enough detail to
determine that these optimizations *should* have
2018 Apr 19
2
[cfe-dev] RFC: Implementing -fno-delete-null-pointer-checks in clang
On Thu, Apr 19, 2018 at 11:59 AM Friedman, Eli <efriedma at codeaurora.org>
wrote:
> On 4/19/2018 11:57 AM, Friedman, Eli via cfe-dev wrote:
>
> On 4/19/2018 11:48 AM, Manoj Gupta via llvm-dev wrote:
>
> On Wed, Apr 18, 2018 at 12:54 PM Tim Northover <t.p.northover at gmail.com>
> wrote:
>
>
> On Wed, Apr 18, 2018 at 12:02 PM Friedman, Eli <efriedma at