[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


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 =
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