search for: 89cc461c

Displaying 3 results from an estimated 3 matches for "89cc461c".

2018 Feb 08
0
PHI nodes for atomic variables
On 8 Feb 2018, at 04:07, Qiuping Yi via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > I found that it only generated PHI node (%8 = phi i32 [ %4, %3 ], [ %6, %5 ]) for non-atomic variable 'data2' but not for atomic variable x? Why? LLVM IR does not contain variables, it contains (immutable) registers. Some of these registers refer to memory locations and are usable with
2018 Feb 08
2
PHI nodes for atomic variables
Hi everyone, I want to track the def-use chain for atomic variables. However, it seems that LLVM will not generate PHI nodes for atomic variables. I present the generated LLVM bytecode for the next code snippet as follow. I found that it only generated PHI node (*%8 = phi i32 [ %4, %3 ], [ %6, %5 ]*) for non-atomic variable 'data2' but not for atomic variable x? Why? With PHI node
2018 Feb 08
3
PHI nodes for atomic variables
...ore relationship > between threads, a thread is allowed to make writes to memory visible to > other threads in any order. > > David > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180208/89cc461c/attachment.html>