1 ; Ensure that the value of the structural hash is consistent across runs to
2 ; check that we aren't doing something like hashing a pointer that could
3 ; introduce non-determinism.
5 ; RUN: opt -passes='print<structural-hash><detailed>' -disable-output %s &> %t.1
6 ; RUN: opt -passes='print<structural-hash><detailed>' -disable-output %s &> %t.2
9 ; Check that we get valid output in the detailed case.
11 ; cat %t.1 | FileCheck %s
13 define i64 @f1(i64 %a) {
17 ; CHECK: Module Hash: {{([a-z0-9]{14,})}}
18 ; CHECK: Function f1 Hash: {{([a-z0-9]{14,})}}