[PATCH] D86863: [EarlyCSE] Verify hash code in regression tests

Bryan Chan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 31 01:55:40 PDT 2020


bryanpkc created this revision.
bryanpkc added reviewers: lebedev.ri, spatel, efriedma, JosephTremoulet.
Herald added subscribers: llvm-commits, danielkiss, kerbowa, asbirlea, george.burgess.iv, hiraditya, nhaehnle, jvesely, nemanjai, jholewinski.
Herald added a project: LLVM.
bryanpkc requested review of this revision.

As discussed in D86483 <https://reviews.llvm.org/D86483>, -earlycse-debug-hash should be used in more regression
tests to catch inconsistency between the hashing and the equivalence check.
The options is also changed to be enabled by default if LLVM is built with
EXPENSIVE_CHECKS defined.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D86863

Files:
  llvm/lib/Transforms/Scalar/EarlyCSE.cpp
  llvm/test/Analysis/MemorySSA/pr41853.ll
  llvm/test/CodeGen/PowerPC/no-dup-of-bdnz.ll
  llvm/test/CodeGen/X86/mmx-bitcast-fold.ll
  llvm/test/DebugInfo/Generic/pr40628.ll
  llvm/test/DebugInfo/salvage-cast-debug-info.ll
  llvm/test/Feature/OperandBundles/early-cse.ll
  llvm/test/Feature/OperandBundles/special-state.ll
  llvm/test/Other/debugcounter-earlycse.ll
  llvm/test/Other/invariant.group.ll
  llvm/test/Other/opt-bisect-legacy-pass-manager.ll
  llvm/test/Other/print-debug-counter.ll
  llvm/test/Transforms/EarlyCSE/AArch64/intrinsics.ll
  llvm/test/Transforms/EarlyCSE/AArch64/ldstN.ll
  llvm/test/Transforms/EarlyCSE/AMDGPU/intrinsics.ll
  llvm/test/Transforms/EarlyCSE/AMDGPU/memrealtime.ll
  llvm/test/Transforms/EarlyCSE/PowerPC/read-reg.ll
  llvm/test/Transforms/EarlyCSE/X86/preserve_memoryssa.ll
  llvm/test/Transforms/EarlyCSE/and_or.ll
  llvm/test/Transforms/EarlyCSE/atomics.ll
  llvm/test/Transforms/EarlyCSE/basic.ll
  llvm/test/Transforms/EarlyCSE/conditional.ll
  llvm/test/Transforms/EarlyCSE/const-speculation.ll
  llvm/test/Transforms/EarlyCSE/debug-info-undef.ll
  llvm/test/Transforms/EarlyCSE/debuginfo-dce.ll
  llvm/test/Transforms/EarlyCSE/edge.ll
  llvm/test/Transforms/EarlyCSE/fence.ll
  llvm/test/Transforms/EarlyCSE/flags.ll
  llvm/test/Transforms/EarlyCSE/floatingpoint.ll
  llvm/test/Transforms/EarlyCSE/gc_relocate.ll
  llvm/test/Transforms/EarlyCSE/globalsaa-memoryssa.ll
  llvm/test/Transforms/EarlyCSE/guards.ll
  llvm/test/Transforms/EarlyCSE/instsimplify-dom.ll
  llvm/test/Transforms/EarlyCSE/int_sideeffect.ll
  llvm/test/Transforms/EarlyCSE/invariant-loads.ll
  llvm/test/Transforms/EarlyCSE/invariant.start.ll
  llvm/test/Transforms/EarlyCSE/memoryssa.ll
  llvm/test/Transforms/EarlyCSE/phi.ll
  llvm/test/Transforms/EarlyCSE/pr33406.ll
  llvm/test/Transforms/EarlyCSE/readnone-mayunwind.ll
  llvm/test/Transforms/EarlyCSE/writeonly.ll
  llvm/test/Transforms/GVNHoist/pr37445.ll
  llvm/test/Transforms/GVNHoist/pr38807.ll
  llvm/test/Transforms/Inline/inline-indirect-chain.ll
  llvm/test/Transforms/InstCombine/invariant.group.ll
  llvm/test/Transforms/InstSimplify/ConstProp/allones.ll
  llvm/test/Transforms/InstSimplify/ConstProp/math-1.ll
  llvm/test/Transforms/InstSimplify/ConstProp/math-2.ll
  llvm/test/Transforms/InstSimplify/ConstProp/rint.ll
  llvm/test/Transforms/InstSimplify/ConstProp/round.ll
  llvm/test/Transforms/InstSimplify/ConstProp/trunc.ll
  llvm/test/Transforms/InstSimplify/ConstProp/vscale-getelementptr.ll
  llvm/test/Transforms/InstSimplify/ConstProp/vscale-shufflevector.ll
  llvm/test/Transforms/NaryReassociate/NVPTX/nary-gep.ll
  llvm/test/Transforms/Reassociate/cse-pairs.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86863.288902.patch
Type: text/x-patch
Size: 58084 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200831/728152b4/attachment.bin>


More information about the llvm-commits mailing list