diff options
author | Adrian Prantl <adrian-prantl@users.noreply.github.com> | 2024-02-23 14:00:15 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-23 14:00:15 -0800 |
commit | 25940956e68ec82d841e5748565e7250580e1d36 (patch) | |
tree | 6c012ff229aa845def4f8c18cc35bf413916f6b3 /polly | |
parent | dcf4ca558ce5c323ce9b0af93acc0c832024eb3c (diff) | |
download | llvm-25940956e68ec82d841e5748565e7250580e1d36.zip llvm-25940956e68ec82d841e5748565e7250580e1d36.tar.gz llvm-25940956e68ec82d841e5748565e7250580e1d36.tar.bz2 |
Replace ArchSpec::PiecewiseCompare() with Triple::operator==() (#82804)
Looking ast the definition of both functions this is *almost* an NFC
change, except that Triple also looks at the SubArch (important) and
ObjectFormat (less so).
This fixes a bug that only manifests with how Xcode uses the SBAPI to
attach to a process by name: it guesses the architecture based on the
system. If the system is arm64 and the Process is arm64e Target fails to
update the triple because it deemed the two to be equivalent.
rdar://123338218
Diffstat (limited to 'polly')
0 files changed, 0 insertions, 0 deletions