1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -mtriple=aarch64-apple-darwin | FileCheck %s
7 ; CHECK-NEXT: sbfx w8, w0, #0, #2
8 ; CHECK-NEXT: lsl w8, w8, #1
9 ; CHECK-NEXT: neg w9, w8
10 ; CHECK-NEXT: lsl w9, w9, #30
11 ; CHECK-NEXT: cmn w8, w9, asr #30
12 ; CHECK-NEXT: cset w0, ne
14 %2 = call { i2, i1 } @llvm.smul.with.overflow.i2(i2 %0, i2 -2)
15 %3 = extractvalue { i2, i1 } %2, 1
19 declare { i2, i1 } @llvm.smul.with.overflow.i2(i2, i2)