This is an archive of the discontinued LLVM Phabricator instance.

[gn build] Add build files for llvm/lib/Target/PowerPC + tests
ClosedPublic

Authored by thakis on Jan 7 2019, 3:04 PM.

Details

Summary

The PowrPC target itself is similar to the X86 target in https://reviews.llvm.org/rL348903
The llvm-exegesis unittests bits are similar to the corresponding AArch64 in https://reviews.llvm.org/rL350499
The whole patch is very similar to the WebAssembly target being added in D56374.

Also add a dep from tools/llvm-exegesis/lib to the AArch64 subdir, which I failed to do in r350499.

The motivation for this target is solely that it has a unit test and I want to enable the GN<->CMake unittest syncing check for llvm.

Diff Detail

Event Timeline

thakis created this revision.Jan 7 2019, 3:04 PM
thakis edited the summary of this revision. (Show Details)Jan 7 2019, 3:09 PM
phosek accepted this revision.Jan 7 2019, 6:11 PM

LGTM

This revision is now accepted and ready to land.Jan 7 2019, 6:11 PM
This revision was automatically updated to reflect the committed changes.