Displaying 3 results from an estimated 3 matches for "bf0b8bb1".
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" and a global
> variable "int *Ptr".
2012 Nov 10
2
[LLVMdev] Bug Report -- Possible optimizer bug with thread_local variables
...;Foo: 0"
It is also pretty clear that "test.3.ll" is an incorrect optimization of
"test.0.ll"
Thanks for looking at this!
-Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121109/bf0b8bb1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.c
Type: text/x-csrc
Size: 898 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121109/bf0b8bb1/attachment.c>
-------------- next part ------------...
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