Whenever we call cur_thread_init, we call cur_thread on the next line.
So make cur_thread_init return the current thread directly.
Makes code a bit shorter, does not affect codegen.
Details
Details
- Reviewers
 vitalybuka melver - Commits
 - rGa0ed71ff293b: tsan: make cur_thread_init return cur_thread
 
Diff Detail
Diff Detail
- Repository
 - rG LLVM Github Monorepo