[flang-commits] [flang] [flang][NFC] Reduce FIR AA overhead for functions with one scope. (PR #204009)
via flang-commits
flang-commits at lists.llvm.org
Mon Jun 15 15:52:57 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 4337 tests passed
* 250 tests skipped
* 2 tests failed
## Failed Tests
(click on a test name to see its output)
### Flang
<details>
<summary>Flang.Analysis/AliasAnalysis/alias-analysis-scoped-origins.fir</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 11
fir-opt C:\_work\llvm-project\llvm-project\flang\test\Analysis\AliasAnalysis\alias-analysis-scoped-origins.fir -split-input-file -o /dev/null --mlir-disable-threading -pass-pipeline='builtin.module(func.func(test-fir-alias-analysis))' 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -match-full-lines C:\_work\llvm-project\llvm-project\flang\test\Analysis\AliasAnalysis\alias-analysis-scoped-origins.fir
# executed command: fir-opt 'C:\_work\llvm-project\llvm-project\flang\test\Analysis\AliasAnalysis\alias-analysis-scoped-origins.fir' -split-input-file -o /dev/null --mlir-disable-threading '-pass-pipeline=builtin.module(func.func(test-fir-alias-analysis))'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -match-full-lines 'C:\_work\llvm-project\llvm-project\flang\test\Analysis\AliasAnalysis\alias-analysis-scoped-origins.fir'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\flang\test\Analysis\AliasAnalysis\alias-analysis-scoped-origins.fir:141:15: error: CHECK-DAG: expected string not found in input
# | // CHECK-DAG: field#0 <-> value#0: NoAlias
# | ^
# | <stdin>:26:48: note: scanning from here
# | Testing : "_QPtest_nested_inline_region_branch"
# | ^
# | <stdin>:27:1: note: possible intended match here
# | field#0 <-> value#0: MayAlias
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\flang\test\Analysis\AliasAnalysis\alias-analysis-scoped-origins.fir
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 21: y#0 <-> y#1: MustAlias
# | 22: Testing : "_QPtest_same_declare"
# | 23: x#0 <-> x#1: MustAlias
# | 24: Testing : "_QPtest_two_dummies_fir"
# | 25: x.fir#0 <-> y.fir#0: NoAlias
# | 26: Testing : "_QPtest_nested_inline_region_branch"
# | dag:141'0 X error: no match found
# | 27: field#0 <-> value#0: MayAlias
# | dag:141'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | dag:141'1 ? possible intended match
# | 28: Testing : "_QPtest_associate_rename_dummy"
# | dag:141'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 29: x#0 <-> x#1: MustAlias
# | 30: x#0 <-> y#0: MustAlias
# | 31: x#1 <-> y#0: MustAlias
# | 32: x#0 <-> y#1: MustAlias
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Flang.Analysis/AliasAnalysis/ptr-component.fir</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 8
fir-opt C:\_work\llvm-project\llvm-project\flang\test\Analysis\AliasAnalysis\ptr-component.fir -split-input-file -o /dev/null --mlir-disable-threading -pass-pipeline='builtin.module(func.func(test-fir-alias-analysis))' 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -match-full-lines C:\_work\llvm-project\llvm-project\flang\test\Analysis\AliasAnalysis\ptr-component.fir
# executed command: fir-opt 'C:\_work\llvm-project\llvm-project\flang\test\Analysis\AliasAnalysis\ptr-component.fir' -split-input-file -o /dev/null --mlir-disable-threading '-pass-pipeline=builtin.module(func.func(test-fir-alias-analysis))'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -match-full-lines 'C:\_work\llvm-project\llvm-project\flang\test\Analysis\AliasAnalysis\ptr-component.fir'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\flang\test\Analysis\AliasAnalysis\ptr-component.fir:475:15: error: CHECK-DAG: expected string not found in input
# | // CHECK-DAG: argp.tgt#0 <-> arg#0: NoAlias
# | ^
# | <stdin>:279:29: note: scanning from here
# | Testing : "_QMmFparentPtest"
# | ^
# | <stdin>:285:1: note: possible intended match here
# | argp.tgt#0 <-> arga#0: NoAlias
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\flang\test\Analysis\AliasAnalysis\ptr-component.fir
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 274: glob.fir#0 <-> loc%i.fir#0: NoAlias
# | 275: glob%p.fir#0 <-> loc%i.fir#0: NoAlias
# | 276: glob%i.fir#0 <-> loc%i.fir#0: NoAlias
# | 277: loc.fir#0 <-> loc%i.fir#0: MayAlias
# | 278: loc%p.fir#0 <-> loc%i.fir#0: NoAlias
# | 279: Testing : "_QMmFparentPtest"
# | dag:475'0 X error: no match found
# | 280: argp#0 <-> argp#1: MustAlias
# | dag:475'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 281: argp#0 <-> argp.tgt#0: NoAlias
# | dag:475'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 282: argp#1 <-> argp.tgt#0: NoAlias
# | dag:475'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 283: argp#0 <-> arga#0: MayAlias
# | dag:475'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 284: argp#1 <-> arga#0: MayAlias
# | dag:475'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 285: argp.tgt#0 <-> arga#0: NoAlias
# | dag:475'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | dag:475'1 ? possible intended match
# | 286: argp#0 <-> arga#1: MayAlias
# | dag:475'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 287: argp#1 <-> arga#1: MayAlias
# | dag:475'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 288: argp.tgt#0 <-> arga#1: NoAlias
# | dag:475'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 289: arga#0 <-> arga#1: MustAlias
# | dag:475'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 290: argp#0 <-> glob#0: MayAlias
# | dag:475'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/204009
More information about the flang-commits
mailing list