Flip the dump-sem-ir-ranges default in file_test (#5587)

This doesn't remove no-longer-needed flags; I'll do that in a separate
PR after this is merged.

---------

Co-authored-by: Dana Jansens <danakj@orodu.net>
This commit is contained in:
Jon Ross-Perkins
2025-06-03 17:37:51 +00:00
committed by GitHub
co-authored by Dana Jansens
parent 1899a6b285
commit d0a48504d8
4 changed files with 10 additions and 3 deletions
+1 -1
View File
@@ -192,7 +192,7 @@ auto ToolchainFileTest::GetDefaultArgs() const
} else if (component_ == "parse") {
args.push_back("--dump-parse-tree");
} else if (component_ == "check") {
args.push_back("--dump-sem-ir");
args.insert(args.end(), {"--dump-sem-ir", "--dump-sem-ir-ranges=only"});
} else if (component_ == "lower") {
args.insert(args.end(), {"--dump-llvm-ir", "--target=x86_64-linux-gnu"});
} else {