This is an archive of the discontinued LLVM Phabricator instance.

[PowerPC] Pass CPU to assembler with -no-integrated-as
ClosedPublic

Authored by nemanjai on Jun 1 2017, 10:04 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

nemanjai created this revision.Jun 1 2017, 10:04 PM
nemanjai updated this revision to Diff 101169.Jun 1 2017, 10:39 PM

Initially, forgot to add a test case.

echristo edited edge metadata.Jun 5 2017, 3:44 PM

One inline comment otherwise LGTM

lib/Driver/ToolChains/Gnu.cpp
681 ↗(On Diff #101169)

Probably don't need to store it to a temporary since the other function is just returning a const char *.

nemanjai updated this revision to Diff 101508.Jun 5 2017, 10:25 PM

Remove the temporary string variable for the CPU.

echristo accepted this revision.Jun 29 2017, 12:25 AM

Sorry, when I say "One inline comment otherwise LGTM" feel free to commit after fixing :)

Since you have, then LGTM.

-eric

This revision is now accepted and ready to land.Jun 29 2017, 12:25 AM
This revision was automatically updated to reflect the committed changes.