[LLVMdev] Sparc back end fix

Chris Lattner clattner at apple.com
Mon Nov 22 18:29:32 PST 2010

On Nov 22, 2010, at 10:04 AM, Timothy M Jones wrote:

> Hi everyone,
> Following my earlier posting (http://lists.cs.uiuc.edu/pipermail/llvmdev/2010-November/036292.html), I sent another message to the list, but it seems like it didn't get through :-(  I managed to fix the problem in my earlier post and compile a cross-llvm-gcc.  Then I discovered I was having problems with a setting a variable based on a ?: condition.  Anyway, I've managed to track down the problem which was due to the conditional move not declaring its implicit use of the icc register in the back end.  The following patch fixes this problem.  A test case is also provided here too.

Sounds good, I'm happy to apply it if you think it's the right patch.  Please convert the testcase to filecheck style like test/CodeGen/SPARC/basictest.ll on mainline.  Thanks!


More information about the llvm-dev mailing list