search for: bergan

Displaying 6 results from an estimated 6 matches for "bergan".

Did you mean: began
2012 Nov 10
2
[LLVMdev] Bug Report -- Possible optimizer bug with thread_local variables
On Fri, Nov 9, 2012 at 11:23 AM, Hans Wennborg <hans at chromium.org> wrote: > Hi Tom, > > On Wed, Nov 7, 2012 at 11:43 PM, Tom Bergan <tbergan at cs.washington.edu> > wrote: > > Hello, > > > > I apologize if this has already been fixed or reported. I believe there > is > > a bug in the way the optimizer deals with thread_local variables. The > > attached program, test.c, has a thread-lo...
2012 Nov 10
0
[LLVMdev] Bug Report -- Possible optimizer bug with thread_local variables
On Fri, Nov 9, 2012 at 4:54 PM, Tom Bergan <tbergan at cs.washington.edu> > The bug manifests > more simply if the variables "Ptr" and "Foo" are declared static -- in this > case, the bug is demonstrated directly with "clang -O3". > > Attached are three files: > * test.c, which is the sa...
2012 Nov 09
0
[LLVMdev] Bug Report -- Possible optimizer bug with thread_local variables
Hi Tom, On Wed, Nov 7, 2012 at 11:43 PM, Tom Bergan <tbergan at cs.washington.edu> wrote: > Hello, > > I apologize if this has already been fixed or reported. I believe there is > a bug in the way the optimizer deals with thread_local variables. The > attached program, test.c, has a thread-local variable "int Foo" an...
2012 Nov 08
2
[LLVMdev] Bug Report -- Possible optimizer bug with thread_local variables
Hello, I apologize if this has already been fixed or reported. I believe there is a bug in the way the optimizer deals with thread_local variables. The attached program, test.c, has a thread-local variable "int Foo" and a global variable "int *Ptr". The program takes the following steps: 1) The main thread spawns a new thread and waits 2) The new thread writes Foo = 50 and
2012 Nov 08
0
[LLVMdev] Bug Report -- Possible optimizer bug with thread_local variables
> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] > On Behalf Of Tom Bergan > Subject: [LLVMdev] Bug Report -- Possible optimizer bug with thread_local variables > my current workaround is to declare Ptr volatile: >    int * volatile Ptr; > Note that if the volatile is moved under the pointer, as in the following: >    volatile int * Ptr; > then the bu...
2011 Aug 16
0
[LLVMdev] llvm-poolalloc DSA patch: code cleanups and thread safety
...simple example program, break-dsa.c, which compiles incorrectly with the old DSAA when optimized with -ds-aa -gvn. This illustrates the need for thread-safety checks. Thanks, -Tom On Thu, Aug 11, 2011 at 8:16 AM, John Criswell <criswell at cs.uiuc.edu> wrote: > On 8/10/11 3:24 PM, Tom Bergan wrote: > > Hello, > > Apologies for the direct mail, I wasn't sure if there was an appropriate > mailing list. I have a few questions about llvm-poolalloc's DSA > implementation. I'm using the latest svn revision (137169). > > > Questions about DSA can be se...