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