diff options
author | Tomer Shafir <tomer.shafir8@gmail.com> | 2025-06-18 20:56:33 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-18 18:56:33 +0100 |
commit | 835d3034fe96931cf907537b51b9cdd87b59d3ad (patch) | |
tree | 76aa80dd8a5f93bc6f6bd444adaafd4209c623a0 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 82acd8c377e9ed267195afdbde16eedebabc648c (diff) | |
download | llvm-835d3034fe96931cf907537b51b9cdd87b59d3ad.zip llvm-835d3034fe96931cf907537b51b9cdd87b59d3ad.tar.gz llvm-835d3034fe96931cf907537b51b9cdd87b59d3ad.tar.bz2 |
[AArch64] improve zero-cycle regmov test (#143680)
- Add a `gpr32` suffix to test name to denote the specific register
class being checked
- Expand `-mtriple=arm64-apple-ios` to `-march=arm64` to broaden the
test context to the generic architecture, as the specific triple is not
required
- Port `bl` match to Linux too via the regex: `{{_?foo}}`
- Advance `-mcpu=cyclone` to the newer M series major `-mcpu=apple-m1`
- Use `-mcpu` so that `-mattr=-zcm` has a real effect
- Add a test that generic arm64 doesn't optimize for ZCM
- Distinguish 4 different assembly layouts: NOTCPU, CPU, NOTATTR, ATTR
- Fix broken test logic, for example: `; NOT: mov [[REG2:w[0-9]+]], w3`
matched `mov w1, w3` then `REG2` captured `w1` but then `; NOT: mov w1,
[[REG2]]` matched by prefix `mov, w1, w19` even though it should have
matched `mov w1, w1`. This change adds explicit matches for all of the
generated copies.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions