Details
Details
- Reviewers
asbirlea reames fhahn mkazantsev
Diff Detail
Diff Detail
Unit Tests
Unit Tests
Time | Test | |
---|---|---|
60,150 ms | x64 debian > Clang.Driver::emit-reproducer.c | |
60,510 ms | x64 debian > Clang.Driver::fsanitize.c |
Event Timeline
Comment Actions
Just a couple of quick comments:
- Why take out the option to DisableGVNLoadPRE?
- Can the MemDep and MSSA be mutually exclusive options? (i.e. enabling one disables the other)
Comment Actions
Just a cleanup. It's never set to anything but false and is used only with old pass manager. Its effect is to disable MemDep in GVN, which is redundant
with respect to the --enable-gvn-memdep , gvn(no-memdep)/GVNOptions.
I guess, if there is interest, there is an option to add it back with the semantics of disabling loads PRE, regardless of whether using MemDep or MemorySSA, and
also add corresponding pieces to GVNOptions/parseGVNOptions.
- Can the MemDep and MSSA be mutually exclusive options? (i.e. enabling one disables the other)
Yeah, I guess so. Right now, enabling MemSSA makes GVN not use MemDep. I suppose I can squeeze a separate patch (second to last in the series), which
- flips MemDep default to disabled
- flips MemSSA default to enabled
- makes enabling MemDEP disable use of MemSSA.