[all-commits] [llvm/llvm-project] 0de9f9: clang: Use Triple::isCompatibleWith to match OpenM...
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Mon May 4 12:28:55 PDT 2026
Branch: refs/heads/users/arsenm/clang/openmp-arg-translate-use-triple-isCompatibleWith
Home: https://github.com/llvm/llvm-project
Commit: 0de9f93094c9fc2fddc37304e90524ad721faa82
https://github.com/llvm/llvm-project/commit/0de9f93094c9fc2fddc37304e90524ad721faa82
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2026-05-04 (Mon, 04 May 2026)
Changed paths:
M clang/lib/Driver/ToolChain.cpp
M clang/test/Driver/openmp-offload.c
Log Message:
-----------
clang: Use Triple::isCompatibleWith to match OpenMP arguments
Previously this was performing an exact string comparison
of the triple. Use the triple predicate so that in the future
amdgpu triples without a subarch will be considered compatible
with triples that do. This preserves compatibility with existing
uses without a subarch.
Note that if you swap the triples, there's an assert in
buildCompilerRTBasename but this appears to be a pre-existing
issue I can reproduce without the patch (but I can't reproduce
on godbolt for some reason).
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list