[all-commits] [llvm/llvm-project] d37d40: Reapply [SCCP] Constant propagation through freeze...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Jun 5 02:47:52 PDT 2023


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

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

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

Reapply with extra check for struct types, which caused buildbot
failures last time.

-----

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