mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-31 16:02:52 +01:00
d49591cf21
cases, it's much nicer and more informative reading the alias. llvm-svn: 129497
15 lines
357 B
LLVM
15 lines
357 B
LLVM
; RUN: llc < %s -march=x86 | FileCheck %s
|
|
|
|
declare {i32, i1} @llvm.umul.with.overflow.i32(i32 %a, i32 %b)
|
|
define i1 @a(i32 %x) zeroext nounwind {
|
|
%res = call {i32, i1} @llvm.umul.with.overflow.i32(i32 %x, i32 3)
|
|
%obil = extractvalue {i32, i1} %res, 1
|
|
ret i1 %obil
|
|
|
|
; CHECK: a:
|
|
; CHECK: mull
|
|
; CHECK: seto %al
|
|
; CHECK: movzx %al, %eax
|
|
; CHECK: ret
|
|
}
|