From 205d70ed2885b9a5720fd41108d80d32b586b953 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Wed, 26 Sep 2012 09:51:39 +0000 Subject: [PATCH] Fix tests that didn't test anything. llvm-svn: 164686 --- llvm/test/DebugInfo/bug_null_debuginfo.ll | 3 +-- llvm/test/Transforms/LoopUnroll/pr11361.ll | 2 +- llvm/test/Transforms/LoopUnswitch/2011-06-02-CritSwitch.ll | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/llvm/test/DebugInfo/bug_null_debuginfo.ll b/llvm/test/DebugInfo/bug_null_debuginfo.ll index a7fdf70d71c7..b17affed893c 100644 --- a/llvm/test/DebugInfo/bug_null_debuginfo.ll +++ b/llvm/test/DebugInfo/bug_null_debuginfo.ll @@ -1,5 +1,4 @@ -; RUN: llc - +; RUN: llc < %s !llvm.dbg.cu = !{!0} diff --git a/llvm/test/Transforms/LoopUnroll/pr11361.ll b/llvm/test/Transforms/LoopUnroll/pr11361.ll index 7ce7f5fe4600..62de2f728d23 100644 --- a/llvm/test/Transforms/LoopUnroll/pr11361.ll +++ b/llvm/test/Transforms/LoopUnroll/pr11361.ll @@ -1,4 +1,4 @@ -; RUN: opt -loop-unroll -disable-output +; RUN: opt -loop-unroll -disable-output < %s ; PR11361 ; This tests for an iterator invalidation issue. diff --git a/llvm/test/Transforms/LoopUnswitch/2011-06-02-CritSwitch.ll b/llvm/test/Transforms/LoopUnswitch/2011-06-02-CritSwitch.ll index 61c54ddb156b..609520064a7a 100644 --- a/llvm/test/Transforms/LoopUnswitch/2011-06-02-CritSwitch.ll +++ b/llvm/test/Transforms/LoopUnswitch/2011-06-02-CritSwitch.ll @@ -1,4 +1,4 @@ -; RUN: opt -loop-unswitch -disable-output +; RUN: opt -loop-unswitch -disable-output < %s ; PR10031 define i32 @test(i32 %command) {