Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
new line(s)
llvm/test/Other/new-pass-manager.ll | ||
---|---|---|
369 | @aeubanks : this test has CHECK-EXT asserts, but not CHECK-NOEXT. Is there a meaningful CHECK-NOEXT I could add? (other than {{.*}} ) | |
llvm/test/Other/opt-LTO-pipeline.ll | ||
1 | @aeubanks : it seems this test doesn't have CHECK-EXT, not CHECK-NOEXT - OK to remove the %llvmcheckext? | |
llvm/test/Other/print-slotindexes.ll | ||
1–2 | @jsji : I think s/ALL/CHECK was the intention, correct? (The test passes) |
llvm/test/Other/new-pass-manager.ll | ||
---|---|---|
369 | llvm/test/lit.cfg.py defines %llvmcheckext, which expands to either CHECK-EXT or CHECK-NOEXT. You'll need two builds to verify. |
llvm/test/Other/new-pass-manager.ll | ||
---|---|---|
369 | There's nothing to check for CHECK-NOEXT |
llvm/test/Other/new-pass-manager.ll | ||
---|---|---|
369 | (combining the 2 comments) so then adding the artificial CHECK-NOEXT check is ok? The alternative is to not use %llvmcheckext here, and just explicitly use the CHECK-EXT prefix. |
llvm/test/Other/lit.local.cfg | ||
---|---|---|
7–8 | pardon my ignorance, but why is this substitution necessary? does opt-bisect-legacy-pass-manager.ll break with --allow-unused-prefixes=true? | |
llvm/test/Other/new-pass-manager.ll | ||
369 | Yeah I think adding the CHECK-NOEXT is fine. We need %llvmcheckext to test both configurations when the extension is enabled and when it isn't. |
llvm/test/Other/lit.local.cfg | ||
---|---|---|
7–8 | It's not that it breaks because of duplicate flags, it breaks because opt-bisect-helper.py has trouble starting a process called "FileCheck --allow-unused-prefixes=false" |
llvm/test/Other/lit.local.cfg | ||
---|---|---|
7–8 | Oh FileCheck expands into FileCheck --allow-unused-prefixes=...? Why not keep FileCheck the way it is, then after everything has been fixed/pinned to --allow-unused-prefixes=false, change the default value of allow-unused-prefixes to true? Regressions should be fairly rare and easily fixable. |
llvm/test/Other/lit.local.cfg | ||
---|---|---|
7–8 | I'd prefer avoiding the regressions even if rare. The fix here - once the flag default is flipped - is also very simple. |
llvm/test/Other/lit.local.cfg | ||
---|---|---|
7–8 | Can you add a FIXME/TODO so it's clear that this can be reverted at some point? |
llvm/test/Other/lit.local.cfg | ||
---|---|---|
7–8 | Good point - done! |
LGTM. If --allow-unused-prefixes=false tests are more than --allow-unused-prefixes=true tests, it is probably time to flip FileCheck default.
llvm/test/Other/print-slotindexes.ll | ||
---|---|---|
1–2 | Yes, you are right. Thanks for fixing. |
pardon my ignorance, but why is this substitution necessary? does opt-bisect-legacy-pass-manager.ll break with --allow-unused-prefixes=true?