CFPImmMIRCanonHash.mir 569 Bytes
# RUN: llc -run-pass mir-canonicalizer -verify-machineinstrs -o - %s | FileCheck %s
# RUN: llc -run-pass mir-canonicalizer -mir-vreg-namer-use-stable-hash -verify-machineinstrs -o - %s | FileCheck %s
---
name: cimm_fpimm_hash_test
body: |
  bb.0:
    ; CHECK: _1:_(s1) = G_CONSTANT i1 true
    ; CHECK: _1:_(s1) = G_CONSTANT i1 false
    ; CHECK: _1:_(s32) = G_FCONSTANT float
    ; CHECK: _1:_(s32) = G_FCONSTANT float
    %0:_(s1) = G_CONSTANT i1 true
    %1:_(s1) = G_CONSTANT i1 false
    %2:_(s32) = G_FCONSTANT float 1.0
    %3:_(s32) = G_FCONSTANT float 0.0
...