forked from OSchip/llvm-project
				
			Fixup to r186268 and r186269: don't append -LABEL to CHECK-NOT. No functionality change.
llvm-svn: 186271
This commit is contained in:
		
							parent
							
								
									42713d763f
								
							
						
					
					
						commit
						c89a0ececb
					
				| 
						 | 
					@ -1,7 +1,7 @@
 | 
				
			||||||
; RUN: opt < %s -globalopt -S | FileCheck %s
 | 
					; RUN: opt < %s -globalopt -S | FileCheck %s
 | 
				
			||||||
 | 
					
 | 
				
			||||||
define internal void @f() {
 | 
					define internal void @f() {
 | 
				
			||||||
; CHECK-NOT-LABEL: @f(
 | 
					; CHECK-NOT: @f(
 | 
				
			||||||
; CHECK: define void @a
 | 
					; CHECK: define void @a
 | 
				
			||||||
	ret void
 | 
						ret void
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -20,7 +20,7 @@ define i32 @test1(i32 %W) {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
%T = type { i32, i32 }
 | 
					%T = type { i32, i32 }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
; CHECK-NOT-LABEL: @test2f(
 | 
					; CHECK-NOT: @test2f(
 | 
				
			||||||
define internal %T* @test2f(i1 %cond, %T* %P) {
 | 
					define internal %T* @test2f(i1 %cond, %T* %P) {
 | 
				
			||||||
  br i1 %cond, label %T, label %F
 | 
					  br i1 %cond, label %T, label %F
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -47,7 +47,7 @@ UnifiedReturnBlock:		; preds = %cond_next13
 | 
				
			||||||
	ret void
 | 
						ret void
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
; CHECK-NOT-LABEL: @bar(
 | 
					; CHECK-NOT: @bar(
 | 
				
			||||||
define internal fastcc void @bar(i32 %X) {
 | 
					define internal fastcc void @bar(i32 %X) {
 | 
				
			||||||
entry:
 | 
					entry:
 | 
				
			||||||
	%ALL = alloca i32, align 4		; <i32*> [#uses=1]
 | 
						%ALL = alloca i32, align 4		; <i32*> [#uses=1]
 | 
				
			||||||
| 
						 | 
					@ -101,7 +101,7 @@ declare void @ext(i32*)
 | 
				
			||||||
define void @test(i32 %X) {
 | 
					define void @test(i32 %X) {
 | 
				
			||||||
entry:
 | 
					entry:
 | 
				
			||||||
; CHECK: test
 | 
					; CHECK: test
 | 
				
			||||||
; CHECK-NOT-LABEL: @bar(
 | 
					; CHECK-NOT: @bar(
 | 
				
			||||||
	tail call fastcc void @bar( i32 %X )
 | 
						tail call fastcc void @bar( i32 %X )
 | 
				
			||||||
	tail call fastcc void @bar( i32 %X )
 | 
						tail call fastcc void @bar( i32 %X )
 | 
				
			||||||
	tail call fastcc void @bar2( i32 %X )
 | 
						tail call fastcc void @bar2( i32 %X )
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -15,7 +15,7 @@ declare i32 @getval() nounwind
 | 
				
			||||||
; CHECK-LABEL: @foo(
 | 
					; CHECK-LABEL: @foo(
 | 
				
			||||||
; CHECK: return:
 | 
					; CHECK: return:
 | 
				
			||||||
; CHECK: %retval.0 = phi i32 [ %tmp7.i, %land.lhs.true ], [ 0, %do.cond ], [ %tmp7.i.1, %land.lhs.true.1 ], [ 0, %do.cond.1 ], [ %tmp7.i.2, %land.lhs.true.2 ], [ 0, %do.cond.2 ], [ %tmp7.i.3, %land.lhs.true.3 ], [ 0, %do.cond.3 ]
 | 
					; CHECK: %retval.0 = phi i32 [ %tmp7.i, %land.lhs.true ], [ 0, %do.cond ], [ %tmp7.i.1, %land.lhs.true.1 ], [ 0, %do.cond.1 ], [ %tmp7.i.2, %land.lhs.true.2 ], [ 0, %do.cond.2 ], [ %tmp7.i.3, %land.lhs.true.3 ], [ 0, %do.cond.3 ]
 | 
				
			||||||
; CHECK-NOT-LABEL: @bar(
 | 
					; CHECK-NOT: @bar(
 | 
				
			||||||
; CHECK: bar.exit.3
 | 
					; CHECK: bar.exit.3
 | 
				
			||||||
define i32 @foo() uwtable ssp align 2 {
 | 
					define i32 @foo() uwtable ssp align 2 {
 | 
				
			||||||
entry:
 | 
					entry:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue