llvm-for-llvmta/test/CodeGen/Generic/pr24662.ll

13 lines
270 B
LLVM
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
; RUN: llc < %s -fast-isel
; RUN: llc < %s
define i60 @PR24662a() {
ret i60 trunc (i670010 fptoui(float 0x400D9999A0000000 to i670010) to i60)
}
define i60 @PR24662b() {
%1 = fptoui float 0x400D9999A0000000 to i670010
%2 = trunc i670010 %1 to i60
ret i60 %2
}