[PowerPC, JIT] PPCJITInfo.cpp "This is not a 32bit PowerPC"

David Fang fang at csl.cornell.edu
Tue Jul 23 18:44:14 PDT 2013


Hi,
 	A bunch of llvm tests in Analysis/Profiling and ExecutionEngine 
started failing for me on powerpc-darwin8 last week with the message:

This is not a 32bit PowerPC, you can't execute this!

 	It looks like r186252 modified the conditionals that surround the 
callback function.  On darwinX, the system compiler (gcc-4.0.1) defines 
either __ppc__ or __ppc64__ for PowerPC.
 	The attached patch accounts for these preprocessor definitions and 
allows those recently failing tests to pass for me.

Ok to commit?

Fang

-- 
David Fang
http://www.csl.cornell.edu/~fang/




More information about the llvm-commits mailing list