Skip to content

clang-13 crashes while compiling tests from the vc project #55641

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

Closed
yurivict opened this issue May 22, 2022 · 4 comments
Closed

clang-13 crashes while compiling tests from the vc project #55641

yurivict opened this issue May 22, 2022 · 4 comments
Labels

Comments

@yurivict
Copy link

llvm-bug.tar.gz

Vc project

FreeBSD 13.1

@EugeneZelenko EugeneZelenko added clang Clang issues not falling into any other category crash Prefer [crash-on-valid] or [crash-on-invalid] and removed new issue labels May 22, 2022
@EugeneZelenko
Copy link
Contributor

What is happened with 14 and main?

@DimitryAndric
Copy link
Collaborator

llvm 14 didnt' come out in time for FreeBSD 13.1, so it still has llvm 13.0.0. In any case, I'll have to see if the reproducer also results in assertions or crashes with more recent versions.

@DimitryAndric DimitryAndric added the duplicate Resolved as duplicate label May 23, 2022
@DimitryAndric
Copy link
Collaborator

This is a duplicate of the good old #29774, which is ~8 years old now, so don't count on it getting solved very soon! :)

If you use an llvm build with assertions enabled, you'll see:

Assertion failed: (Reg >= X86::FP0 && Reg <= X86::FP6 && "Expected FP register!"), function getFPReg, file /home/dim/src/llvm/llvm-project/llvm/lib/Target/X86/X86FloatingPoint.cpp, line 318.

In any case, the workaround is to NOT disable SSE2 on x86_64 platforms, as the ABI basically does not allow it.

@DimitryAndric DimitryAndric closed this as not planned Won't fix, can't repro, duplicate, stale May 23, 2022
@EugeneZelenko EugeneZelenko added backend:X86 llvm:crash and removed clang Clang issues not falling into any other category crash Prefer [crash-on-valid] or [crash-on-invalid] labels May 23, 2022
@llvmbot
Copy link
Member

llvmbot commented May 23, 2022

@llvm/issue-subscribers-backend-x86

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants