Sometimes, bitsets could get really large (>300k entries) and
we might want to drop a check, as it would have a too much cost.
Adding a flag to control how much penalty are we willing to pay
for bitsets.
Paths
| Differential D23088
Add -lowertypetests-bitsets-level to control bitsets generation. ClosedPublic Authored by krasin on Aug 2 2016, 3:27 PM.
Details Summary Sometimes, bitsets could get really large (>300k entries) and Adding a flag to control how much penalty are we willing to pay
Diff Detail Event Timelinekcc edited edge metadata. Comment ActionsLGTM with a nit. Please also add a runable test to compiler-rt as a separate change.
This revision is now accepted and ready to land.Aug 2 2016, 3:43 PM
Revision Contents
Diff 66572 lib/Transforms/IPO/LowerTypeTests.cpp
test/Transforms/LowerTypeTests/simple.ll
|
It seems really bizarre for a command line flag to affect an intrinsic's semantics like this. If we want this at all it should probably be an intrinsic argument or something.