This remove the need for locking when deleting a function.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Note: destroying a few thousands of Modules in my multi-threaded ThinLTO implementation goes from 27s to 16s after this patch :)
Comment Actions
Thanks! I knew it'd be a good idea to steal some bits away from CallingConvention :). Lgtm with one change.
lib/IR/Function.cpp | ||
---|---|---|
382 | We should also clear the subclass value data bit here. |
We should also clear the subclass value data bit here.