Changes to clang to add Lanai backend. Adds a new target, ABI and toolchain.
General Lanai backend discussion on llvm-dev thread "[RFC] Lanai backend" (http://lists.llvm.org/pipermail/llvm-dev/2016-February/095118.html).
Paths
| Differential D17002
[lanai] Add Lanai backend to clang driver ClosedPublic Authored by jpienaar on Feb 8 2016, 2:52 PM.
Details Summary Changes to clang to add Lanai backend. Adds a new target, ABI and toolchain. General Lanai backend discussion on llvm-dev thread "[RFC] Lanai backend" (http://lists.llvm.org/pipermail/llvm-dev/2016-February/095118.html).
Diff Detail Event Timelinejpienaar updated this object. Comment Actions Updated thanks.
jpienaar updated this object. jpienaar marked an inline comment as done. Comment ActionsMove mregparm check to Tools.cpp and correct triple used in test. majnemer added inline comments.
jpienaar marked 6 inline comments as done. Comment ActionsRemoved unnecessary floating point classification (only integer is supported) and performed suggested cleanups. Comment Actions Updated, thanks
chandlerc edited edge metadata. Comment ActionsLGTM with the comments from David addressed and the comment below addressed.
This revision is now accepted and ready to land.Mar 28 2016, 12:53 PM Closed by commit rL264655: [lanai] Add Lanai backend to clang driver. (authored by jpienaar). · Explain WhyMar 28 2016, 2:08 PM This revision was automatically updated to reflect the committed changes. jpienaar marked an inline comment as done.
Revision Contents
Diff 49688 lib/Basic/Targets.cpp
lib/CodeGen/TargetInfo.cpp
lib/Driver/Driver.cpp
lib/Driver/ToolChains.h
lib/Driver/Tools.h
lib/Driver/Tools.cpp
test/CodeGen/lanai-arguments.c
test/CodeGen/lanai-regparm.c
test/CodeGen/target-data.c
test/Driver/lanai-toolchain.c
test/Driver/lanai-unknown-unknown.cpp
test/Preprocessor/init.c
|
Instead of a default, make this a covering switch? We get warnings that way if someone adds a CPU and doesn't add a case.