[RISCV] Add shrinkwrap test cases showing gaps in current impl
[llvm-project.git] / llvm / test / CodeGen / X86 / fake-use-hpfloat.ll
blobfd511a6179acfe85ee7dd4ff36a04046742f8edf
1 ; assert in DAGlegalizer with fake use of half precision float.
2 ; Changes to half float promotion.
3 ; RUN: llc -stop-after=finalize-isel -mtriple=x86_64-unknown-linux -o - %s | FileCheck %s
5 ; CHECK:      bb.0.entry:
6 ; CHECK-NEXT: %0:fr16 = FsFLD0SH
7 ; CHECK-NEXT: FAKE_USE killed %0
9 target triple = "x86_64-unknown-unknown"
11 define void @_Z6doTestv() local_unnamed_addr optdebug {
12 entry:
13   tail call void (...) @llvm.fake.use(half 0xH0000)
14   ret void