aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/Generic/pr24662.ll
blob: 5a10b9cb0acb444f9d64f6d9bef1a29aca361468 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
; 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
}