1 # RUN: llc -o - -run-pass mir-canonicalizer -verify-machineinstrs %s | FileCheck %s
2 # RUN: llc -o - -run-pass mir-canonicalizer -mir-vreg-namer-use-stable-hash -verify-machineinstrs %s | FileCheck %s
4 target triple = "aarch64-unknown-unknown"
5 define void @f() { unreachable }
11 value: '<1 x i8> <i8 0>'
13 value: '<1 x i8> <i8 1>'
16 ; Test that we no longer have hash collisions between two different consts:
17 ;CHECK: %bb{{[0-9a-f]+}}_{{[0-9a-f]+}}__1:gpr64common = ADR
18 ;CHECK: %bb{{[0-9a-f]+}}_{{[0-9a-f]+}}__1:gpr64common = ADR
19 %vreg0:gpr64common = ADRP target-flags(aarch64-page) %const.0
20 %vreg1:gpr64common = ADRP target-flags(aarch64-page) %const.1