[all-commits] [llvm/llvm-project] 10536d: [CFI] Extract DropTypeTestsPass from LowerTypeTest...

Vitaly Buka via All-commits all-commits at lists.llvm.org
Fri Apr 17 00:01:07 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 10536d48b700e82101d9c8f4a0a87c999b6f9251
      https://github.com/llvm/llvm-project/commit/10536d48b700e82101d9c8f4a0a87c999b6f9251
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2026-04-17 (Fri, 17 Apr 2026)

  Changed paths:
    M clang/lib/CodeGen/BackendUtil.cpp
    M llvm/include/llvm/Transforms/IPO/LowerTypeTests.h
    M llvm/lib/Passes/PassBuilder.cpp
    M llvm/lib/Passes/PassBuilderPipelines.cpp
    M llvm/lib/Passes/PassRegistry.def
    M llvm/lib/Transforms/IPO/LowerTypeTests.cpp
    M llvm/test/Other/fatlto.ll
    M llvm/test/Other/new-pm-O0-defaults.ll
    M llvm/test/Other/new-pm-lto-defaults.ll
    M llvm/test/Other/new-pm-thinlto-postlink-defaults.ll
    M llvm/test/Other/new-pm-thinlto-postlink-pgo-defaults.ll
    M llvm/test/Other/new-pm-thinlto-postlink-samplepgo-defaults.ll
    M llvm/test/ThinLTO/X86/lower_type_test_phi.ll
    M llvm/test/Transforms/LowerTypeTests/drop_type_test.ll
    M llvm/test/Transforms/LowerTypeTests/drop_type_test_phi.ll
    M llvm/test/Transforms/LowerTypeTests/drop_type_test_select.ll

  Log Message:
  -----------
  [CFI] Extract DropTypeTestsPass from LowerTypeTestsPass (#192578)

This patch introduces `DropTypeTestsPass` as a dedicated pass
to handle the dropping of type tests. Previously, this was handled
by `LowerTypeTestsPass` with a specific parameter.

By splitting this into its own pass, we simplify the pass pipeline
construction and make the intent clearer in `PassRegistry.def` and
various pipeline builders.

It's almost NFC, if not opt command line changes.



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