brintos

brintos / llvm-project-archived public Read only

0
0
Text · 796 B · 46da2af Raw
22 lines · plain
1# RUN: llc -o - -run-pass mir-canonicalizer -verify-machineinstrs %s | FileCheck %s2# RUN: llc -o - -run-pass mir-canonicalizer -mir-vreg-namer-use-stable-hash -verify-machineinstrs %s | FileCheck %s3--- |4  target triple = "aarch64-unknown-unknown"5  define void @f() { unreachable }6...7---8name: f9constants:10  - id:              011    value:           '<1 x i8> <i8 0>'12  - id:              113    value:           '<1 x i8> <i8 1>'14body: |15  bb.0:16    ; Test that we no longer have hash collisions between two different consts:17    ;CHECK: %bb{{[0-9a-f]+}}_{{[0-9a-f]+}}__1:gpr64common = ADR18    ;CHECK: %bb{{[0-9a-f]+}}_{{[0-9a-f]+}}__1:gpr64common = ADR19    %vreg0:gpr64common = ADRP target-flags(aarch64-page) %const.020    %vreg1:gpr64common = ADRP target-flags(aarch64-page) %const.121...22