[PATCH] D142787: [GVN] Don't count debug instructions when limit the number of checked instructions

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 28 01:14:26 PST 2023


nikic added inline comments.


================
Comment at: llvm/test/Transforms/GVN/PRE/pre-load-dbg.ll:1
+; RUN: opt < %s -passes=gvn -enable-load-pre -S | FileCheck %s
+
----------------
Pass `-gvn-max-num-insns` with a low value and reduce test accordingly. No need to test the actual 100 instruction limit.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D142787/new/

https://reviews.llvm.org/D142787



More information about the llvm-commits mailing list