
Remove support for the fptrunc, fpext, fptoui, fptosi, uitofp and sitofp constant expressions. All places creating them have been removed beforehand, so this just removes the APIs and uses of these constant expressions in tests. With this, the only remaining FP operation that still has constant expression support is fcmp. This is part of https://discourse.llvm.org/t/rfc-remove-most-constant-expressions/63179.
12 lines
246 B
LLVM
12 lines
246 B
LLVM
; RUN: llc < %s -fast-isel
|
|
; RUN: llc < %s
|
|
|
|
; NVPTX failed to lower i670010, as size > 64
|
|
; UNSUPPORTED: target=nvptx{{.*}}
|
|
|
|
define i60 @PR24662b() {
|
|
%1 = fptoui float 0x400D9999A0000000 to i670010
|
|
%2 = trunc i670010 %1 to i60
|
|
ret i60 %2
|
|
}
|