You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
569 B

# 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
...