[PATCH] D45240: [ARM] Compute a target feature which corresponds to the ARM version.

Eli Friedman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 4 15:58:04 PDT 2018


efriedma updated this revision to Diff 141078.
efriedma added a comment.

Fixed to use the arch name as the "feature"; otherwise, we miss relevant features in certain cases.  This is taken from ARMAsmParser::parseDirectiveArch.


Repository:
  rC Clang

https://reviews.llvm.org/D45240

Files:
  lib/Basic/Targets/ARM.cpp
  test/CodeGen/arm-long-calls.c
  test/CodeGen/arm-no-movt.c
  test/CodeGen/arm-target-features.c
  test/CodeGen/arm-thumb-mode-target-feature.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45240.141078.patch
Type: text/x-patch
Size: 9665 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180404/a6caf73b/attachment-0001.bin>


More information about the cfe-commits mailing list