This is an archive of the discontinued LLVM Phabricator instance.

[StandardInstrumentations] Only turn on -verify-cfg-preserved by default in expensive checks builds
ClosedPublic

Authored by aeubanks on Mar 14 2023, 10:19 AM.

Details

Summary

https://llvm-compile-time-tracker.com/compare.php?from=3fd42f50d8aadb4d0c348ac17cd2115c1b0564a4&to=50c37f6fc62a1e7bb4f0e307c89f760d42dbe4e9&stat=instructions:u
shows that this is fairly expensive, 5-10% increase in compile time, and I'd like to add more similar checks under the same flag.

This matches the legacy pass manager.

Diff Detail

Event Timeline

aeubanks created this revision.Mar 14 2023, 10:19 AM
Herald added a project: Restricted Project. · View Herald Transcript
aeubanks requested review of this revision.Mar 14 2023, 10:19 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 14 2023, 10:19 AM
This revision is now accepted and ready to land.Mar 14 2023, 1:09 PM
This revision was landed with ongoing or failed builds.Mar 15 2023, 8:38 AM
This revision was automatically updated to reflect the committed changes.