[X86] Regenerated pr16360.ll

llvm-svn: 261440
This commit is contained in:
Simon Pilgrim 2016-02-20 17:56:45 +00:00
parent 972d9fb76b
commit 79a14dd3d1
1 changed files with 8 additions and 7 deletions

View File

@ -1,16 +1,17 @@
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc < %s -mcpu=pentium4 -mtriple=i686-pc-linux | FileCheck %s
define i64 @foo(i32 %sum) {
; CHECK-LABEL: foo:
; CHECK: # BB#0: # %entry
; CHECK-NEXT: movl {{[0-9]+}}(%esp), %eax
; CHECK-NEXT: shrl $2, %eax
; CHECK-NEXT: orl $-67108864, %eax # imm = 0xFFFFFFFFFC000000
; CHECK-NEXT: movl $1073741823, %edx # imm = 0x3FFFFFFF
; CHECK-NEXT: retl
entry:
%conv = sext i32 %sum to i64
%shr = lshr i64 %conv, 2
%or = or i64 4611686018360279040, %shr
ret i64 %or
}
; CHECK: foo
; CHECK: shrl $2
; CHECK: orl $-67108864
; CHECK-NOT: movl $-1
; CHECK: movl $1073741823
; CHECK: ret