Re: [llvm-commits] CAST patch committed

2007-01-16 Thread Gordon Henriksen
On 2006-11-29, at 02:27, Chris Lattner wrote: On 2006-11-27, at 17:53, Reid Spencer wrote: On Mon, 2006-11-27 at 14:28 -0800, Chris Lattner wrote: the CBE doesn't implement the stacksave/restore builtins right. If someone was interested in doing this, it should be possible to use GCC ext

Re: [llvm-commits] CAST patch committed

2006-11-28 Thread Chris Lattner
>>> TEST-FAIL: cbe /External/SPEC/CINT2000/176.gcc/176.gcc >>>There are significant differences in the assembly output, but >>> this >>> test has been >>>failing similarly on recent (HEAD) nightly tests as well. >> >> This fails for me because the CBE doesn't implement the stacksave/ >> r

Re: [llvm-commits] CAST patch committed

2006-11-27 Thread Chris Lattner
> 2. Although I tried for two weeks, I was unsuccessful in making LLVM > code generation emit the right code for "cast to bool". Currently, the > instcombine pass is turning these into "setne X, 0" as is the current > HEAD functionality. When the backend can handle a cast to bool > properly > (in

[llvm-commits] CAST patch committed

2006-11-26 Thread Reid Spencer
All, I have just committed the CAST patch as part of the Signless Types work (PR950). This isn't complete but it is working and it was time to commit so we can make more incremental patches in the future. There's a few things you should know: 1. Try not to use the createInferredCast method. It is