[PATCH] D22645: Add new SPARC processor types and hardware capabilities to the LLVM SPARC backend.

Stefan Teleman via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 22 16:28:21 PDT 2016


steleman added a comment.

In https://reviews.llvm.org/D22645#493489, @joerg wrote:

> While I generally agree that supporting the GCC-compatible arguments for -mcpu is a good idea, it should only be done if we also verify that it matches the target mode. E.g. `-mcpu=v8plus` and `-m64` should be invalid.


I have that logic added in tools/clang/lib/Driver/Tools.cpp. I have not submitted a patch for that file yet, because the SPARC CPU features that I added to Tools.cpp depend on these CPU identifiers being recognized in LLVM.


Repository:
  rL LLVM

https://reviews.llvm.org/D22645





More information about the llvm-commits mailing list