diff options
author | Bryan Chan <bryan.chan@huawei.com> | 2020-08-30 19:17:43 -0400 |
---|---|---|
committer | Bryan Chan <bryan.chan@huawei.com> | 2020-09-04 10:40:35 -0400 |
commit | 3404add4684d5959d1ed997149d9896d136d4d3c (patch) | |
tree | 8575680aac15ce68ee1dc5a3df18939c0842b57d /llvm/test/Other/print-debug-counter.ll | |
parent | 2a03f270d69cf1079feb029f84727288e217588a (diff) |
[EarlyCSE] Verify hash code in regression tests
As discussed in D86843, -earlycse-debug-hash should be used in more regression
tests to catch inconsistency between the hashing and the equivalence check.
Differential Revision: https://reviews.llvm.org/D86863
Diffstat (limited to 'llvm/test/Other/print-debug-counter.ll')
-rw-r--r-- | llvm/test/Other/print-debug-counter.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Other/print-debug-counter.ll b/llvm/test/Other/print-debug-counter.ll index 3647f39026dc..846817add4b8 100644 --- a/llvm/test/Other/print-debug-counter.ll +++ b/llvm/test/Other/print-debug-counter.ll @@ -1,6 +1,6 @@ ; REQUIRES: asserts -; RUN: opt -S -debug-counter=early-cse-skip=1,early-cse-count=1 -early-cse \ +; RUN: opt -S -debug-counter=early-cse-skip=1,early-cse-count=1 -early-cse -earlycse-debug-hash \ ; RUN: -debug-counter=newgvn-vn-skip=1,newgvn-vn-count=2 -newgvn \ ; RUN: -instcombine -print-debug-counter < %s 2>&1 | FileCheck %s ;; Test debug counter prints correct info in right order. |