[llvm-commits] [llvm-gcc-4.2] r46726 -	/llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp
    Duncan Sands 
    baldrick at free.fr
       
    Mon Feb 11 00:18:11 PST 2008
    
    
  
> > the current LLVM implementation means that anyone using threading  
> > needs
> > to not do bitfield accesses, since the compiler generated code could
> > cause trouble.
> 
> This is not handled by LLVM, this is handled by FE that is translating  
> source code into LLVM IR. Unless all front-ends enforce this, we can  
> not claim that LLVM guarantees bit-field thread safety (I do think, it  
> is convenient if tools support bit-field thread safety). If you are  
> suggesting to handle this some how inside LLVM itself then I mis- 
> understood your comment.
I was talking about how llvm-gcc handles bitfields.  Sorry for the confusion.
Ciao,
Duncan.
    
    
More information about the llvm-commits
mailing list