Commit 8e061e9
committed
[FMV][GlobalOpt] Do not statically resolver non-FMV callers.
This fixes a runtime regression in the llvm testsuite:
https://lab.llvm.org/buildbot/#/builders/198/builds/1237
On clang-aarch64-sve2-vla:
predres
FAIL
A 'predres' version is unexpectedly trapping on GravitonG4.
My explanation is that when the caller in not a versioned
function, the compiler exclusively relies on the command line
option, or target attribute to deduce whether a feature is
available. However, there is no guarantee that in reality
the host supports those implied features.1 parent ee1c852 commit 8e061e9
File tree
2 files changed
+10
-2
lines changed- llvm
- lib/Transforms/IPO
- test/Transforms/GlobalOpt
2 files changed
+10
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2785 | 2785 | | |
2786 | 2786 | | |
2787 | 2787 | | |
2788 | | - | |
| 2788 | + | |
| 2789 | + | |
| 2790 | + | |
| 2791 | + | |
| 2792 | + | |
| 2793 | + | |
| 2794 | + | |
| 2795 | + | |
| 2796 | + | |
2789 | 2797 | | |
2790 | 2798 | | |
2791 | 2799 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
224 | | - | |
| 224 | + | |
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
| |||
0 commit comments