http://llvm.org/bugs/show_bug.cgi?id=11834
Bug #: 11834
Summary: On Linux the CPUName depended on the host, while on
Windows “generic” CPUName is chosen.
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: new bugs
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
Created attachment 7932
--> http://llvm.org/bugs/attachment.cgi?id=7932
Fix for the bug
I was investigating a strange behavior I've encountered in X86Subtarget which
caused different CPUName to be chosen for Windows and Linux. On Linux the
chosen CPUName depends on the host, while on Windows “generic” CPUName is
chosen. I mapped the problem to commit 134741 to the LLVM trunk.
The macros added in that commit are defined only for Linux and they are not
defined for Windows. I've added a fix which I attached to this bug.
commit 134741:
http://www.llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86Subtarget.cpp?r1=134678&r2=134741&diff_format=h
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs