This is an archive of the discontinued LLVM Phabricator instance.

Power9 - Support for -mcpu=pwr9 in the front end
ClosedPublic

Authored by nemanjai on Apr 28 2016, 1:08 PM.

Details

Summary

This patch simply adds support for the new CPU in anticipation of Power9. There isn't really any functionality added so there are no associated test cases at this time.

Diff Detail

Repository
rL LLVM

Event Timeline

nemanjai updated this revision to Diff 55468.Apr 28 2016, 1:08 PM
nemanjai retitled this revision from to Power9 - Support for -mcpu=pwr9 in the front end.
nemanjai updated this object.
nemanjai set the repository for this revision to rL LLVM.
nemanjai added a subscriber: cfe-commits.
nemanjai added inline comments.
lib/Basic/Targets.cpp
1239

Come to think of it - I should add a test case for this macro. It will be on the next revision if one is required or in the actual commit otherwise.

kbarton accepted this revision.May 3 2016, 10:50 AM
kbarton edited edge metadata.

LGTM

This revision is now accepted and ready to land.May 3 2016, 10:50 AM
nemanjai edited edge metadata.May 3 2016, 12:55 PM
nemanjai added a subscriber: echristo.
echristo accepted this revision.May 3 2016, 2:06 PM
echristo added a reviewer: echristo.

Please do add tests before committing. Otherwise ok.

Thanks.

-eric

lib/Basic/Targets.cpp
1239

Please add a test for everything you just added, yes. :)

nemanjai closed this revision.May 9 2016, 12:05 PM

Committed revision 268951.