forked from OSchip/llvm-project
				
			Update checks in an instcombine test, NFC
This reduces the delta in some incoming work that changes this test. llvm-svn: 359549
This commit is contained in:
		
							parent
							
								
									4723cc5a4c
								
							
						
					
					
						commit
						562f5f04f5
					
				| 
						 | 
					@ -843,8 +843,8 @@ define i32 @test45commuted(i32 %x, i32 %y) {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
define i32 @test46(i32 %x, i32 %y) {
 | 
					define i32 @test46(i32 %x, i32 %y) {
 | 
				
			||||||
; CHECK-LABEL: @test46(
 | 
					; CHECK-LABEL: @test46(
 | 
				
			||||||
; CHECK-NEXT:    [[X_NOT:%.*]] = xor i32 [[X:%.*]], -1
 | 
					; CHECK-NEXT:    [[TMP1:%.*]] = xor i32 [[X:%.*]], -1
 | 
				
			||||||
; CHECK-NEXT:    [[SUB:%.*]] = and i32 [[X_NOT]], [[Y:%.*]]
 | 
					; CHECK-NEXT:    [[SUB:%.*]] = and i32 [[TMP1]], [[Y:%.*]]
 | 
				
			||||||
; CHECK-NEXT:    ret i32 [[SUB]]
 | 
					; CHECK-NEXT:    ret i32 [[SUB]]
 | 
				
			||||||
;
 | 
					;
 | 
				
			||||||
  %or = or i32 %x, %y
 | 
					  %or = or i32 %x, %y
 | 
				
			||||||
| 
						 | 
					@ -854,8 +854,8 @@ define i32 @test46(i32 %x, i32 %y) {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
define i32 @test46commuted(i32 %x, i32 %y) {
 | 
					define i32 @test46commuted(i32 %x, i32 %y) {
 | 
				
			||||||
; CHECK-LABEL: @test46commuted(
 | 
					; CHECK-LABEL: @test46commuted(
 | 
				
			||||||
; CHECK-NEXT:    [[X_NOT:%.*]] = xor i32 [[X:%.*]], -1
 | 
					; CHECK-NEXT:    [[TMP1:%.*]] = xor i32 [[X:%.*]], -1
 | 
				
			||||||
; CHECK-NEXT:    [[SUB:%.*]] = and i32 [[X_NOT]], [[Y:%.*]]
 | 
					; CHECK-NEXT:    [[SUB:%.*]] = and i32 [[TMP1]], [[Y:%.*]]
 | 
				
			||||||
; CHECK-NEXT:    ret i32 [[SUB]]
 | 
					; CHECK-NEXT:    ret i32 [[SUB]]
 | 
				
			||||||
;
 | 
					;
 | 
				
			||||||
  %or = or i32 %y, %x
 | 
					  %or = or i32 %y, %x
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue