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 21518 Build 21518: arc lint + arc unit
Event Timeline
Comment Actions
LGTM with a few comments. Thanks!
lib/Analysis/MemorySSA.cpp | ||
---|---|---|
80–88 | 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/ |
s/verify/verification/