From: Kaelyn Uhrain Date: Wed, 23 May 2012 20:21:36 +0000 (+0000) Subject: Fix typo in flag to opt, and also a CHECK-NEXT that doesn't follow a X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=63c5c371d8c87cdfdc0a551732a318deea9dd2b9;p=oota-llvm.git 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 --- diff --git a/test/Transforms/BoundsChecking/simple.ll b/test/Transforms/BoundsChecking/simple.ll index 8f4aa5935ab..7cfe6ecfd22 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