[Mlir-commits] [mlir] [MLIR][NFC] Speed up is valid symbol check (PR #154924)

William Moses llvmlistbot at llvm.org
Fri Aug 22 04:11:28 PDT 2025


wsmoses wrote:

okay confirmed the impact of this diff:
```
BEFORE:
(base) wmoses at hydra:~/git/Enzyme-JaX$ time sudo perf record --call-graph=fp ./bazel-bin/enzymexlamlir-opt plaa.mlir --pass-pipeline="any(llvm-to-affine-access)" -o /dev/null
[ perf record: Woken up 585 times to write data ]
[ perf record: Captured and wrote 148.074 MB perf.data (490695 samples) ]

real    2m4.680s
user    0m0.003s
sys     0m0.008s
(base) wmoses at hydra:~/git/Enzyme-JaX$ sudo perf report

AFTER:
(base) wmoses at hydra:~/git/Enzyme-JaX$ time sudo perf record --call-graph=fp ./bazel-bin/enzymexlamlir-opt plaa.mlir --pass-pipeline="any(llvm-to-affine-access)" -o /dev/null
[sudo] password for wmoses: 
[ perf record: Woken up 96 times to write data ]
[ perf record: Captured and wrote 25.857 MB perf.data (50007 samples) ]

real    0m17.450s
user    0m0.008s
sys     0m0.011s
```

https://github.com/llvm/llvm-project/pull/154924


More information about the Mlir-commits mailing list