We can help optimizations by making sure we use the team state whenever
it is clear there is no thread state. To this end we introduce a new
state flag (state::HasThreadState) and explicit control for the
state::ValueRAII helpers, including a dedicated "assert equal".
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
generally looks good. For HasThreadState, there are a couple of mixed uses of true/false and 1/0. I'd stick with one.