[all-commits] [llvm/llvm-project] 899966: [InstCombine] Limit use walk in copied from consta...

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Jan 11 08:21:01 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 89996621de073e43de7bed552037b10d2a0fdf80
      https://github.com/llvm/llvm-project/commit/89996621de073e43de7bed552037b10d2a0fdf80
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-01-11 (Wed, 11 Jan 2023)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp

  Log Message:
  -----------
  [InstCombine] Limit use walk in copied from constant fold

This fold currently performs an unbounded recursive use walk.
Make sure that we don't visit too many instructions (the limit is
chosen arbitrarily).

This is with an eye on also handling phi nodes, which will further
extend the considered use graph.




More information about the All-commits mailing list