[llvm-commits] CVS: llvm/test/Regression/Transforms/LevelRaise/2002-03-21-MissedRaise.ll

Chris Lattner clattner at apple.com
Thu Jan 4 10:49:13 PST 2007


On Jan 4, 2007, at 10:42 AM, Reid Spencer wrote:
> On Thu, 2007-01-04 at 09:54 -0800, Chris Lattner wrote:
>> Perhaps in addition to returning an error code, llvm-upgrade should
>> emit something like "parse failed" to the output stream, so that
>> later llvm-as's will die.
>
> How about we make llvm-as produce at least a warning and a non-zero
> result code when the input is empty. That way we don't mask the error
> and it isn't masked even if the source doesn't come from llvm-upgrade?

Except that an empty .ll file should be legal.  I just checked in a  
patch to llvm-upgrade, is it ok?

-Chris



More information about the llvm-commits mailing list