[all-commits] [llvm/llvm-project] 2eb654: [CIR] Add cir-simplify pass (#138317)

Morris Hafner via All-commits all-commits at lists.llvm.org
Wed May 7 09:51:02 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2eb6545b3ecb567a85d9114dab69a1455c7a032c
      https://github.com/llvm/llvm-project/commit/2eb6545b3ecb567a85d9114dab69a1455c7a032c
  Author: Morris Hafner <mmha at users.noreply.github.com>
  Date:   2025-05-07 (Wed, 07 May 2025)

  Changed paths:
    M clang/include/clang/CIR/CIRToCIRPasses.h
    M clang/include/clang/CIR/Dialect/IR/CIRDialect.td
    M clang/include/clang/CIR/Dialect/IR/CIROps.td
    M clang/include/clang/CIR/Dialect/Passes.h
    M clang/include/clang/CIR/Dialect/Passes.td
    M clang/include/clang/CIR/MissingFeatures.h
    M clang/lib/CIR/Dialect/IR/CIRDialect.cpp
    M clang/lib/CIR/Dialect/Transforms/CIRCanonicalize.cpp
    A clang/lib/CIR/Dialect/Transforms/CIRSimplify.cpp
    M clang/lib/CIR/Dialect/Transforms/CMakeLists.txt
    M clang/lib/CIR/FrontendAction/CIRGenAction.cpp
    M clang/lib/CIR/Lowering/CIRPasses.cpp
    A clang/test/CIR/Transforms/select.cir
    A clang/test/CIR/Transforms/ternary-fold.cir
    M clang/tools/cir-opt/cir-opt.cpp

  Log Message:
  -----------
  [CIR] Add cir-simplify pass (#138317)

This patch adds the cir-simplify pass for SelectOp and TernaryOp. It
also adds the SelectOp folder and adds the constant materializer for the
CIR dialect.



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