Skip to content
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

CI: Bump LDC-LLVM to v12.0.0 #3701

Merged
merged 4 commits into from
Jun 4, 2021
Merged

CI: Bump LDC-LLVM to v12.0.0 #3701

merged 4 commits into from
Jun 4, 2021

Conversation

kinke
Copy link
Member

@kinke kinke commented Apr 18, 2021

Including bumping the Ubuntu base image from 16.04 to 18.04.

@kinke kinke force-pushed the llvm12 branch 3 times, most recently from cb43af4 to 8c154a5 Compare April 28, 2021 15:03
@kinke kinke force-pushed the llvm12 branch 2 times, most recently from 8dd690a to c8a62e5 Compare May 22, 2021 00:12
@kinke kinke marked this pull request as ready for review May 22, 2021 01:05
@kinke
Copy link
Member Author

kinke commented May 22, 2021

Remaining failures:

  • Windows: lit-test PGO/indirect_calls.d
  • 32-bit x86: std.conv unittests with enabled optimizations, lines 5876, 5885, …?

kinke added 2 commits June 4, 2021 17:02
Including bumping the Ubuntu base image from 16.04 to 18.04.
@@ -2,6 +2,9 @@

// REQUIRES: PGO_RT

// PROFUSE IR matching has regressed on Windows since LLVM 12 (due to our manual @weak emulation?)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it work if you remove @weak and add inline asm noop or something else that prevents the optimizer from knowing what the function does?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh yeah, asm {} makes it work. 👍

As the PROFUSE IR matching has regressed on Windows with LLVM 12,
apparently related to `@weak`.
As this trips up the optimized std.conv unittests on 32-bit x86 since
LLVM 12.
@kinke kinke merged commit 7b45f1c into ldc-developers:master Jun 4, 2021
@kinke kinke deleted the llvm12 branch June 4, 2021 23:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants