view test/CodeGen/Generic/pr24662.ll @ 128:c347d3398279 default tip

fix
author mir3636
date Wed, 06 Dec 2017 14:37:17 +0900
parents 803732b1fca8
children
line wrap: on
line source

; 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
}