Lukacma

Results comments of Lukacma

I have updated the patch with more features. If you guys could take another look that would be great!

Thanks Maciej. Done. I have added it as a september version.

Thanks @efriedma-quic for tagging us. We are going to work on the fix for this.

Thank you for pointing this issue out. We are aware of it and should be shortly fixed by #149970

Sorry about this @davemgreen! I have submitted 2nd patch in the series (#98624), which should improve reported errors.

The issue is that these intrinsics were defined like this for at least 7 years. I am not sure if we can change it, considering there might be people relying...

I might be wrong here but looking at [cppreference](https://en.cppreference.com/c/language/restrict) for restrict I see this: During each execution of a block in which a restricted pointer P is declared (typically each...

Yeah, I aggre with your point about the execution part. But I was just pointing out that it appears we are not correctly modeling restrict semantics in LLVM.

@AaronBallman could you weigh in on the __restrict semantics in multithreaded situations ? Would accessing memory pointed to by b, by other threads be considered undefined behaviour ?