Pierre-vh wrote:

>  You can equivalently just directly set the bit in the MMO

Do you mean set the bit on all load/stores to alloca pointers ?
I made this PR with the assumption that doing the above was unsafe.

Can we assume all allocas are only written to/read by a single-thread, even if 
the pointer escapes ? Can't we share it with other threads if globally 
addressable scratch is used?

https://github.com/llvm/llvm-project/pull/179415
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to