[all-commits] [llvm/llvm-project] 7406eb: [Hexagon] Avoid creating an empty target feature
Krzysztof Parzyszek via All-commits
all-commits at lists.llvm.org
Mon Aug 10 08:37:55 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 7406eb4f6afd8df9bd4dbb918f5e7005ba71d58c
https://github.com/llvm/llvm-project/commit/7406eb4f6afd8df9bd4dbb918f5e7005ba71d58c
Author: Krzysztof Parzyszek <kparzysz at quicinc.com>
Date: 2020-08-10 (Mon, 10 Aug 2020)
Changed paths:
M clang/lib/Basic/Targets/Hexagon.cpp
A clang/test/CodeGen/hexagon-empty-cpu-feature.c
Log Message:
-----------
[Hexagon] Avoid creating an empty target feature
If the CPU string is empty, the target feature map may end up having
an empty string inserted to it. The symptom of the problem is a warning
message:
'+' is not a recognized feature for this target (ignoring feature)
Also, the target-features attribute in the module will have an empty
string in it.
More information about the All-commits
mailing list