[LLVMdev] Failure to compile llvm-gcc-4.2-2.7 on FreeBSD on sparc machine

Yuri yuri at tsoft.com
Thu May 6 00:20:17 PDT 2010


Anton Korobeynikov wrote:
> The patch is incorrect and the problems you're seeing are caused by
> your patch, since sparc != sparc64.
> In LLVM sense "sparc" means "sparc with ILP32 architecture model",
> llvm does not support anything 64 bit in sparc world


SparcTargetMachine.h file lists SparcV9TargetMachine as 64-bit machine 
and SparcV8TargetMachine as 32-bit machine.
And SparcInstrInfo.td seems to contain some of the V9-only instructions.

Are you sure 64-bit sparc isn't supported at all?

Yuri



More information about the llvm-dev mailing list