1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -mtriple=i686 -mcpu=skylake | FileCheck %s
4 ; Fix for a typo introduced by D80500
6 define i32 @load_fold_udiv1(ptr %p) {
7 ; CHECK-LABEL: load_fold_udiv1:
9 ; CHECK-NEXT: movl {{[0-9]+}}(%esp), %eax
10 ; CHECK-NEXT: movl $-2004318071, %edx # imm = 0x88888889
11 ; CHECK-NEXT: mulxl (%eax), %eax, %eax
12 ; CHECK-NEXT: shrl $3, %eax
14 %v = load i32, ptr %p, align 4
15 %ret = udiv i32 %v, 15