[X86] Update test/CodeGen/X86/avg.ll with the help of update_llc_test_checks.py....
[oota-llvm.git] / test / CodeGen / X86 / computeKnownBits_urem.ll
1 ; RUN: llc -mtriple=x86_64-linux < %s | FileCheck %s
2 define i32 @main() #0 {
3 entry:
4   %a = alloca i32, align 4
5   store i32 1, i32* %a, align 4
6   %0 = load i32, i32* %a, align 4
7   %or = or i32 1, %0
8   %and = and i32 1, %or
9   %rem = urem i32 %and, 1
10   %add = add i32 %rem, 1
11   ret i32 %add
12 }
13 ; CHECK: $1, %eax
14 ; CHECK-NEXT: retq