[all-commits] [llvm/llvm-project] ee765b: [NewPM] Add pass options for `InternalizePass` to ...

Tim Besard via All-commits all-commits at lists.llvm.org
Wed May 15 13:17:52 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ee765b0c94df7e636d9739216b1646d3a2d3b5db
      https://github.com/llvm/llvm-project/commit/ee765b0c94df7e636d9739216b1646d3a2d3b5db
  Author: Tim Besard <tim.besard at gmail.com>
  Date:   2024-05-15 (Wed, 15 May 2024)

  Changed paths:
    M llvm/lib/Passes/PassBuilder.cpp
    M llvm/lib/Passes/PassRegistry.def
    M llvm/test/Transforms/Internalize/lists.ll

  Log Message:
  -----------
  [NewPM] Add pass options for `InternalizePass` to preserve GVs. (#91334)

This PR adds a string interface to `InternalizePass`' `MustPreserveGV`
option, which is a callback function to indicate if a GV is not to be
internalized. This is for use in LLVM.jl, the Julia wrapper for LLVM,
which uses the C API and is thus required to use the PassBuilder string
API for building NewPM pipelines.



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