On Jan 4, 2007, at 9:54 AM, Chris Lattner wrote: > > On Jan 4, 2007, at 9:49 AM, Chris Lattner wrote: > >> >> llvm-upgrade gets a parse error on this testcase, so it's not being >> tested at all. This appears to be an llvm-upgrade bug: >> >> $ llvm-upgrade 2002-03-21-MissedRaise.ll >> llvm-upgrade: parse error >> 2002-03-21-MissedRaise.ll:7: while reading token: '%Hash' > > This actually affects a lot of testcases in the suite, leading me to > believe that the testsuite isn't actually testing many programs. > Reid, can you run llvm-upgrade on all the .ll files in llvm/test and > figure out which ones it barfs on? > > This is a serious problem. For example Regression/Transforms/ > LevelRaise/2003-05-01-CallCast.ll is reported as succeeding because > llvm-upgrade fails to parse the input. This means that there may be > many tests failing and we don't know it because the failures are > masked. > > 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.
Actually, it looks like there was something seriously broken locally in my tree. Cleaning llvm-upgrade and rebuilding it seems to have cleared up many of the issues, but I still have some failures, e.g. in Transforms/SimplifyCFG/2006-12-08-Ptr-ICmp-Branch.ll: $ ../../../TestRunner.sh 2006-12-08-Ptr-ICmp-Branch.ll ******************** TEST '2006-12-08-Ptr-ICmp-Branch.ll' FAILED! ******************** Command: llvm-upgrade < 2006-12-08-Ptr-ICmp-Branch.ll | llvm-as | opt - simplifycfg | llvm-dis Output: llvm-as: <stdin>:54,0: Reference to an invalid definition: 'tmp.s' of type 'i32' opt: Standard Input is empty! llvm-dis: Standard Input is empty! Sorry for the confusion. -Chris _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits