-
-
Notifications
You must be signed in to change notification settings - Fork 264
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IR PGO not working on Windows #2539
Comments
reported here: https://bugs.llvm.org/show_bug.cgi?id=36120 |
For AST-based PGO, we override the linkage specifically here. |
It might be easily worked around in our LLVM fork, by modding these 3 lines. I'll check it out. |
Apparently so, |
An issue reference, in the off-chance this would help the IR-PGO+LTO case: #2582 |
Resolved by #2795. |
IR PGO is disabled on Windows right now, see #2474
@Hardcode84 found a testcase, demonstrating (most likely) a bug in LLVM:
ldc2 main -output-ll
output:opt -pgo-instr-gen -instrprof -verify main.ll -S
output:Error goes away if comdat is removed from
foo
.The text was updated successfully, but these errors were encountered: