[all-commits] [llvm/llvm-project] 559d47: [SCCP] Constant propagation through freeze instruc...

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Jun 1 06:07:17 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 559d47a1790e1a9f9b1f8838a443eb7624ef1ac7
      https://github.com/llvm/llvm-project/commit/559d47a1790e1a9f9b1f8838a443eb7624ef1ac7
  Author: Mikhail Gudim <mgudim at ventanamicro.com>
  Date:   2023-06-01 (Thu, 01 Jun 2023)

  Changed paths:
    M llvm/lib/Transforms/Utils/SCCPSolver.cpp
    M llvm/test/Transforms/SCCP/freeze.ll

  Log Message:
  -----------
  [SCCP] Constant propagation through freeze instruction

The freeze instruction has not been handled by SCCPInstVisitor.
This patch adds SCCPInstVisitor::visitFreezeInst(FreezeInst &I)
method to handle freeze instructions.

Differential Revision: https://reviews.llvm.org/D151659




More information about the All-commits mailing list