diff options
| author | Fangrui Song <i@maskray.me> | 2025-06-11 22:19:31 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-11 22:19:31 -0700 |
| commit | 28bda778437fea17a25b561f1b3b84545612b565 (patch) | |
| tree | 90ec5c96b79fdd78dae5afb34c9948259e0c0a3f /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 02550da932913bd7c3987c68abc9060c9e5bde2c (diff) | |
Introduce MCAsmInfo::UsesSetToEquateSymbol and prefer = to .set
Introduce MCAsmInfo::UsesSetToEquateSymbol to control the preferred
syntax for symbol equating. We now favor the more readable and common
`symbol = expression` syntax over `.set`. This aligns with pre- https://reviews.llvm.org/D44256 behavior.
On Apple platforms, this resolves a clang -S vs -c behavior difference (resolves #104623).
For targets whose = support is unconfirmed, UsesSetToEquateSymbol is set to false.
This also minimizes test updates.
Pull Request: https://github.com/llvm/llvm-project/pull/142289
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
