[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
Loading
Please sign in to comment