[llvm-commits] [llvm] r158337 - in /llvm/trunk/lib: Support/Host.cpp Target/PowerPC/PPCSubtarget.cpp
Jakob Stoklund Olesen
stoklund at 2pi.dk
Mon Jun 11 18:00:39 PDT 2012
On Jun 11, 2012, at 5:03 PM, Jakob Stoklund Olesen wrote:
>
> On Jun 11, 2012, at 4:14 PM, Hal Finkel <hfinkel at anl.gov> wrote:
>
>> Author: hfinkel
>> Date: Mon Jun 11 18:14:31 2012
>> New Revision: 158337
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=158337&view=rev
>> Log:
>> Move PPC host-CPU detection logic from PPCSubtarget into sys::getHostCPUName().
>>
>> Both the new Linux functionality and the old Darwin functions have been moved.
>> This change also allows this information to be queried directly by clang and
>> other frontends (clang, for example, will now have real -mcpu=native support).
>
> Hi Hal,
>
> This is causing most PPC tests to fail with: 'penryn' is not a recognized processor for this target (ignoring processor)
>
> (When running on a penryn chip).
Reverted here: r158345.
Please reapply when you have a fix.
/jakob
More information about the llvm-commits
mailing list