[all-commits] [llvm/llvm-project] 2e3e08: [BasicBlockUtils] Remove redundant llvm.dbg instru...

CL via All-commits all-commits at lists.llvm.org
Fri Apr 26 02:58:00 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2e3e0868748635b779ba89a772eae3664bd822e4
      https://github.com/llvm/llvm-project/commit/2e3e0868748635b779ba89a772eae3664bd822e4
  Author: CL <48561979+coderchenlin at users.noreply.github.com>
  Date:   2024-04-26 (Fri, 26 Apr 2024)

  Changed paths:
    M llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
    A llvm/test/Transforms/LoopUnroll/unroll-remove-redundant-dbg.ll
    M llvm/test/Transforms/SimplifyCFG/hoist-dbgvalue-inlined.ll
    M llvm/test/Transforms/SimplifyCFG/hoist-dbgvalue.ll

  Log Message:
  -----------
  [BasicBlockUtils] Remove redundant llvm.dbg instructions after blocks to reduce compile time (#89069)

this patch is to fix the compile time for some cases, before this
change, some targets (riscv-64, ve) will spend much more compile time on
this case (https://godbolt.org/z/rrov17cTo). With this change, the
compile time was reduced a lot.

Fixes https://github.com/llvm/llvm-project/issues/89073

PR: https://github.com/llvm/llvm-project/pull/89069



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list