Files
clang-p2996/llvm/test/CodeGen/Generic/pr24662.ll
Igor Chebykin 84cf290c84 [NVPTX][tests] Do not run the tests which are not supported by nvptx
Some generic tests are not supported by the nvptx now.  Moreover, they
are no plans to fix the tested features in nvptx. So, suggest to mark
them as UNSUPPORTED

Differential Revision: https://reviews.llvm.org/D123928
2022-04-26 17:26:56 +03:00

16 lines
338 B
LLVM

; RUN: llc < %s -fast-isel
; RUN: llc < %s
; NVPTX failed to lower i670010, as size > 64
; UNSUPPORTED: nvptx
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
}