On Feb 9, 2008, at 1:24 PM, Duncan Sands wrote: > 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. > Are you suggesting that users should roll their own > bitfield code (I'm not saying that this is unreasonable)? No. I'm merely stating current status quo. - Devang _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits