Thanks Chris, it works just fine now.
Chris Lattner wrote:
>> I don't know about darwin, but this breaks linux/ppc32 JIT (llc works
>> fine). On a simple test case:
>>
>> define i32 @main(i32 %argc) {
>> entry:
>>%tmp2 = add i32 2, %argc
>>ret i32 %tmp2
>> }
>>
>
> Yep, this w
> I don't know about darwin, but this breaks linux/ppc32 JIT (llc works
> fine). On a simple test case:
>
> define i32 @main(i32 %argc) {
> entry:
>%tmp2 = add i32 2, %argc
>ret i32 %tmp2
> }
Yep, this was broken on darwin as well. I just committed a fix which
makes it work for
Hi Nate,
Nate Begeman wrote:
> Author: sampo
> Date: Tue Feb 12 20:58:33 2008
> New Revision: 47045
>
> URL: http://llvm.org/viewvc/llvm-project?rev=47045&view=rev
> Log:
> Make register scavenging happy by not using a reg (CR0) that isn't defined
>
>
I don't know about darwin, but this breaks
Author: sampo
Date: Tue Feb 12 20:58:33 2008
New Revision: 47045
URL: http://llvm.org/viewvc/llvm-project?rev=47045&view=rev
Log:
Make register scavenging happy by not using a reg (CR0) that isn't defined
Modified:
llvm/trunk/lib/Target/PowerPC/PPCInstrInfo.td
Modified: llvm/trunk/lib/Target