[X86] Regenerate sub.ll test

This commit is contained in:
Simon Pilgrim 2021-02-21 21:25:26 +00:00
parent 9872cfc5b1
commit e7e35e1758
1 changed files with 8 additions and 5 deletions

View File

@ -1,11 +1,14 @@
; RUN: llc -mtriple=i686-- < %s | FileCheck %s
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc < %s -mtriple=i686-- | FileCheck %s
define i32 @test1(i32 %x) {
; CHECK-LABEL: test1:
; CHECK: # %bb.0:
; CHECK-NEXT: movl {{[0-9]+}}(%esp), %eax
; CHECK-NEXT: xorl $-32, %eax
; CHECK-NEXT: addl $33, %eax
; CHECK-NEXT: retl
%xor = xor i32 %x, 31
%sub = sub i32 32, %xor
ret i32 %sub
; CHECK-LABEL: test1:
; CHECK: xorl $-32
; CHECK-NEXT: addl $33
; CHECK-NEXT: ret
}