]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #84883 - durin42:allow-unused-prefixes, r=nikic
authorJack Huey <31162821+jackh726@users.noreply.github.com>
Wed, 19 May 2021 02:35:59 +0000 (22:35 -0400)
committerGitHub <noreply@github.com>
Wed, 19 May 2021 02:35:59 +0000 (22:35 -0400)
compiletest: "fix" FileCheck with --allow-unused-prefixes

The default of --allow-unused-prefixes used to be false, but in LLVM
change 87dbdd2e3b (https://reviews.llvm.org/D95849) the default became
true. I'm not quite sure how we could do better here (specifically not
providing the CHECK prefix when it's not needed), but this seems to work
for now.

This reduces codegen test failures against LLVM HEAD from 31 cases to 5.

1  2 
src/tools/compiletest/src/runtest.rs

Simple merge