[LLVMbugs] [Bug 2970] -march flag doesn't work.
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Tue Oct 28 17:12:59 PDT 2008
http://llvm.org/bugs/show_bug.cgi?id=2970
Daniel Dunbar <daniel at zuster.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |daniel at zuster.org
Status|NEW |RESOLVED
Resolution| |WORKSFORME
--- Comment #1 from Daniel Dunbar <daniel at zuster.org> 2008-10-28 19:12:59 ---
clang accepts -arch=ppc as 32-bit ppc (ppc64 also is recognized).
--
ddunbar at ddunbar2:tmp$ echo "int x;" | clang -arch=ppc -emit-llvm
; ModuleID = '-'
target datalayout =
"E-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v128:128:128"
target triple = "ppc-apple-darwin10.0.0d2"
@x = common global i32 0, align 4 ; <i32*> [#uses=0]
--
Is there a reason you expect the arch to be ppc32?
--
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.
More information about the llvm-bugs
mailing list