diff options
author | Kaelyn Uhrain <rikka@google.com> | 2012-05-23 20:21:36 +0000 |
---|---|---|
committer | Kaelyn Uhrain <rikka@google.com> | 2012-05-23 20:21:36 +0000 |
commit | 63c5c371d8c87cdfdc0a551732a318deea9dd2b9 (patch) | |
tree | 0098b2046d7ccff94f225c2ec1ec8dd37068e345 | |
parent | e3b548219ff47b1384aa7325ebbe21c795c19974 (diff) |
Fix typo in flag to opt, and also a CHECK-NEXT that doesn't follow a
CHECK. The latter error was hidden by the former, and the test harness
used by e.g. "make check" silently ignored that opt was printing an
error message about an unknown flag instead of running on the test file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157341 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Transforms/BoundsChecking/simple.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Transforms/BoundsChecking/simple.ll b/test/Transforms/BoundsChecking/simple.ll index 8f4aa5935a..7cfe6ecfd2 100644 --- a/test/Transforms/BoundsChecking/simple.ll +++ b/test/Transforms/BoundsChecking/simple.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -boundschecking -S | FileCheck %s +; RUN: opt < %s -bounds-checking -S | FileCheck %s target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128" @.str = private constant [8 x i8] c"abcdefg\00" ; <[8 x i8]*> @@ -32,7 +32,7 @@ define void @f3(i64 %x) nounwind { %1 = tail call i8* @calloc(i64 4, i64 %x) %2 = bitcast i8* %1 to i32* %idx = getelementptr inbounds i32* %2, i64 8 -; CHECK-NEXT: mul i64 4, % +; CHECK: mul i64 4, % ; CHECK-NEXT: sub i64 {{.*}}, 32 ; CHECK-NEXT: icmp ult i64 {{.*}}, 32 ; CHECK-NEXT: icmp ult i64 {{.*}}, 4 |