Expose VerifyMemorySSA as a debug option. If set, passes will call the MSSA->verifyMemorySSA() after calling into the updater's APIs when MemorySSA should be valid.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
- Build Status
Buildable 21497 Build 21497: arc lint + arc unit
Event Timeline
Comment Actions
LGTM with a few comments. Thanks!
lib/Analysis/MemorySSA.cpp | ||
---|---|---|
80 | Do we want to enable this by default if EXPENSIVE_CHECKS is on? Looks like the other verify* are auto-enabled (at least to some extent) in that case, and the comment above them says so. (I'm happy in either case. I just want reasoning to point to if the answer is "we shouldn't, because ...." ) | |
83 | s/verify/verification/ |
Do we want to enable this by default if EXPENSIVE_CHECKS is on? Looks like the other verify* are auto-enabled (at least to some extent) in that case, and the comment above them says so.
(I'm happy in either case. I just want reasoning to point to if the answer is "we shouldn't, because ...." )