[llvm] [FMV][GlobalOpt] Statically resolve calls to versioned functions. (PR #87939)

Alexandros Lamprineas via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 13 03:05:16 PST 2025


================
@@ -0,0 +1,365 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --filter "call i32 @(test_single_bb_resolver|test_multi_bb_resolver|test_caller_feats_not_implied|test_non_fmv_caller|test_priority|test_alternative_names)" --version 4
+; RUN: opt --passes=globalopt -o - -S < %s | FileCheck %s
----------------
labrinea wrote:

Idea: perhaps it would be useful to have an integration test in clang at -O3 to show that this optimization is working as expected on C/C++ source?

https://github.com/llvm/llvm-project/pull/87939


More information about the llvm-commits mailing list