[PATCH] Create a td file with the x86 cpus names for the driver.

Rafael Ávila de Espíndola rafael.espindola at gmail.com
Fri Aug 16 09:56:45 PDT 2013


Hi chandlerc,

We still use strings instead of enums in more places than we should. With this change it is easy to transition from one to the other.

It also makes it possible to use the enums in the driver, which will make it easier to implement -mfpmath for x86.


http://llvm-reviews.chandlerc.com/D1426

Files:
  include/clang/Basic/CMakeLists.txt
  include/clang/Basic/TargetInfo.h
  include/clang/Basic/X86CPUs.td
  lib/Basic/CMakeLists.txt
  lib/Basic/Targets.cpp
  lib/Driver/Tools.cpp
  utils/TableGen/CMakeLists.txt
  utils/TableGen/ClangX86CPUNamesEmitter.cpp
  utils/TableGen/TableGen.cpp
  utils/TableGen/TableGenBackends.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1426.1.patch
Type: text/x-patch
Size: 29412 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130816/caccdac3/attachment.bin>


More information about the cfe-commits mailing list