You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Test PFA and document issues with Clang-19/20 versions #191
@spencer-gre and I experienced no issues running PFA on Clang-19. On Clang-20 there were several issues; here is a log of these on Tuo: pfa clang20 errors.txt
We made these changes (forked here) to PFA for successful run on Clang-20:
Replaced every instance of createGlobalStringPtr in weaver/weave/perfflow_weave_common with createGlobalString. createGlobalStringPtr is deprecated as of Clang 20 and acts as a reference to createGlobalString which has a more generic type (https://llvm.org/doxygen/IRBuilder_8h_source.html#l02056); functionality is identical.
Activity
asantagata commentedon Oct 21, 2025
@spencer-gre and I experienced no issues running PFA on Clang-19. On Clang-20 there were several issues; here is a log of these on Tuo: pfa clang20 errors.txt
We made these changes (forked here) to PFA for successful run on Clang-20:
Replaced every instance of
createGlobalStringPtrin weaver/weave/perfflow_weave_common withcreateGlobalString.createGlobalStringPtris deprecated as of Clang 20 and acts as a reference tocreateGlobalStringwhich has a more generic type (https://llvm.org/doxygen/IRBuilder_8h_source.html#l02056); functionality is identical.In perfflow_weave_new_pass, replaced this block:
with this:
i.e., adding another parameter and removing the
returnto match the definition listed here: https://llvm.org/doxygen/llvm_2Passes_2PassBuilder_8h_source.html#l00505With these changes, compilation is successful and all smoketests work.
tpatki commentedon Oct 29, 2025
Closing with PR #199 and #200