[all-commits] [llvm/llvm-project] c4a267: [Clang] Simplify unifying target features
Joseph Huber via All-commits
all-commits at lists.llvm.org
Tue Jun 14 12:58:32 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c4a2674e21c4f5ffd46f90982ce3c3d952018e66
https://github.com/llvm/llvm-project/commit/c4a2674e21c4f5ffd46f90982ce3c3d952018e66
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2022-06-14 (Tue, 14 Jun 2022)
Changed paths:
M clang/lib/Driver/ToolChains/CommonArgs.cpp
M clang/lib/Driver/ToolChains/CommonArgs.h
Log Message:
-----------
[Clang] Simplify unifying target features
This patch simplifies how we unify target features. Now we simply
iterate the input in reverse and only insert the feature if it hasn't
been seen yet. The only reason we need to reverse this at the end is to
keep the features in order for the existing tests.
Reviewed By: tra
Differential Revision: https://reviews.llvm.org/D127707
More information about the All-commits
mailing list