Skip to content

Commit

Permalink
[X86] Regenerate pr39098.ll
Browse files Browse the repository at this point in the history
  • Loading branch information
RKSimon committed Sep 20, 2023
1 parent 2ec697b commit ad762f2
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions llvm/test/CodeGen/X86/pr39098.ll
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 3
; RUN: llc < %s -mtriple=x86_64-unknown-unknown | FileCheck %s

define dso_local void @test_cancel2(ptr %p1, ptr %p2) {
; CHECK: # %entry
; CHECK-NEXT: movl (%rdi), %eax
; CHECK-NEXT: shrl %eax
; CHECK-NEXT: andl $524287, %eax
; CHECK-NEXT: movl %eax, (%rsi)
; CHECK-NEXT: movb $0, 4(%rsi)
; CHECK-NEXT: retq
; CHECK-LABEL: test_cancel2:
; CHECK: # %bb.0: # %entry
; CHECK-NEXT: movl (%rdi), %eax
; CHECK-NEXT: shrl %eax
; CHECK-NEXT: andl $524287, %eax # imm = 0x7FFFF
; CHECK-NEXT: movl %eax, (%rsi)
; CHECK-NEXT: movb $0, 4(%rsi)
; CHECK-NEXT: retq
entry:
%0 = load i40, ptr %p1, align 8
%shl414 = shl i40 %0, 19
Expand Down

0 comments on commit ad762f2

Please sign in to comment.