[llvm-commits] [llvm] r60701 - in /llvm/trunk: lib/Transforms/Scalar/LoopUnswitch.cpp test/Transforms/LoopUnswitch/2008-11-03-Invariant.ll

Chris Lattner clattner at apple.com
Mon Dec 8 14:36:33 PST 2008


On Dec 8, 2008, at 9:02 AM, Devang Patel wrote:
> URL: http://llvm.org/viewvc/llvm-project?rev=60701&view=rev
> Log:
> Undo previous patch.

Thanks Devang, does this fix the bugzilla?

> +++ llvm/trunk/test/Transforms/LoopUnswitch/2008-11-03-Invariant.ll  
> Mon Dec  8 11:02:37 2008
> @@ -1,4 +1,4 @@
> -; RUN: llvm-as < %s | opt -loop-unswitch -stats | not grep loop- 
> unswitch
> +; RUN: llvm-as < %s | opt -loop-unswitch -verify -disable-output

Please make this actually check something.  This only checks that  
unswitch doesn't crash.  Also, opt always verifies by default so  
passing -verify just does it twice, please remove.

-Chris



More information about the llvm-commits mailing list