[PATCH] D71832: [TypePromotion] Make TypeSize a class member
Sam Parker via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 23 01:51:53 PST 2019
samparker created this revision.
samparker added a reviewer: rnk.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.
Having TypeSize as a static class variable was causing problems with multi-threading. Several static functions have now been converted into methods of TypePromotion and a few other members of TypePromotion and IRPromoter have been added or removed.
Thanks for debugging this @rnk
https://reviews.llvm.org/D71832
Files:
llvm/lib/CodeGen/TypePromotion.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71832.235113.patch
Type: text/x-patch
Size: 12107 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191223/2062cffd/attachment.bin>
More information about the llvm-commits
mailing list