[cfe-dev] PPC asm register definitions
clattner at apple.com
Mon Sep 14 16:48:01 PDT 2009
On Sep 14, 2009, at 3:01 PM, Richard Pennington wrote:
> I filed bug http://llvm.org/bugs/show_bug.cgi?id=4976 this morning.
> Johannesen mentioned that "3" is not a valid register name for the
> PPC code generator, it wants "r3".
> Should I change Targets.cpp to use "r0"... instead?
> Also, the names GCCReg* don't seem right. Wouldn't LLVMRegNames* fit
"3" is probably valid on ppc targets that don't use "r" prefixes on
their registers. Is that the case? clang can convert asm constraints
as needed to make the llvm backend happy.
More information about the cfe-dev