diff options
author | Tim Besard <tim.besard@gmail.com> | 2024-05-15 22:17:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-15 13:17:29 -0700 |
commit | ee765b0c94df7e636d9739216b1646d3a2d3b5db (patch) | |
tree | c841127ed8d1deb42ddd0e72c4e67a2075042239 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 80d9ae9cbf692a73404995a88665af7166c7e8ad (diff) | |
download | llvm-ee765b0c94df7e636d9739216b1646d3a2d3b5db.zip llvm-ee765b0c94df7e636d9739216b1646d3a2d3b5db.tar.gz llvm-ee765b0c94df7e636d9739216b1646d3a2d3b5db.tar.bz2 |
[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.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions