[all-commits] [llvm/llvm-project] 5502cf: [LoopUnswitch] Trivial simplification: remove triv...

serguei-katkov via All-commits all-commits at lists.llvm.org
Mon Sep 21 19:23:54 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5502cfa091e0f6b35a6d96435b2ec15a43a324eb
      https://github.com/llvm/llvm-project/commit/5502cfa091e0f6b35a6d96435b2ec15a43a324eb
  Author: Serguei Katkov <serguei.katkov at azul.com>
  Date:   2020-09-22 (Tue, 22 Sep 2020)

  Changed paths:
    M llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
    M llvm/test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch.ll

  Log Message:
  -----------
  [LoopUnswitch] Trivial simplification: remove trivial dead condition after unswitch

Non trivial loop unswitch can keep the dead condition instruction.
CL adds trivial dead code elimination for unused condition.

Reviewers: asbirlea, aqjune, fhahn, DaniilSuchkov, reames
Reviewed By: asbirlea
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D88014




More information about the All-commits mailing list