17 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 42; RUN: llc < %s -mtriple=x86_64-- | FileCheck %s3 4; Don't eliminate or coalesce away the explicit zero-extension!5 6define i64 @foo(i64 %a) {7; CHECK-LABEL: foo:8; CHECK: # %bb.0:9; CHECK-NEXT: imull $7823, %edi, %eax # imm = 0x1E8F10; CHECK-NEXT: incq %rax11; CHECK-NEXT: retq12 %b = mul i64 %a, 782313 %c = and i64 %b, 429496729514 %d = add i64 %c, 115 ret i64 %d16}17