[all-commits] [llvm/llvm-project] 3b7650: [Pipelines] Add a test how DCE works after Argumen...

Pavel Samolysov via All-commits all-commits at lists.llvm.org
Thu Jun 30 02:57:18 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3b7650da725c03b0cd1c3a9bc19d081da3bb042f
      https://github.com/llvm/llvm-project/commit/3b7650da725c03b0cd1c3a9bc19d081da3bb042f
  Author: Pavel Samolysov <samolisov at gmail.com>
  Date:   2022-06-30 (Thu, 30 Jun 2022)

  Changed paths:
    A llvm/test/Transforms/PhaseOrdering/dce-after-argument-promotion.ll

  Log Message:
  -----------
  [Pipelines] Add a test how DCE works after ArgumentPromotion

The ArgumentPromotion pass uses Mem2Reg promotion at the end to cutting
down generated alloca instructions as well as meaningless stores and
this behavior can leave unused (dead) arguments.

The test shows that the arguments are not removed in the current
optimization pipeline.




More information about the All-commits mailing list