xref: /llvm-project/llvm/test/CodeGen/MIR/Generic/bfloat-immediates.mir (revision 3c24eb39fb7e9c8b61992c86cb44d8cacc5853d2)
1# RUN: llc -run-pass none -o - %s | FileCheck %s
2# This test ensures that the MIR parser parses bfloat immediates correctly.
3
4---
5name: bfloat_immediates
6body: |
7  bb.0:
8    ; CHECK: %0:_(s16) = G_FCONSTANT bfloat 0xR3E80
9    ; CHECK: %1:_(s16) = G_FCONSTANT bfloat 0xR3E80
10    %0:_(s16) = G_FCONSTANT bfloat 0xR3E80
11    %1:_(s16) = G_FCONSTANT bfloat 0.25
12...
13