[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
Mon Jan 30 01:17:33 PST 2023


nikic added a comment.

@mkazantsev I believe it's just the general policy that debuginfo should not affect optimization outcome. We do generally exclude debug intrinsics for these kinds of instruction counting cutoffs for that reason.


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