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

Crash trying to EmitRawText msync via the object streamer #18889

Closed
llvmbot opened this issue Jan 17, 2014 · 1 comment
Closed

Crash trying to EmitRawText msync via the object streamer #18889

llvmbot opened this issue Jan 17, 2014 · 1 comment
Labels
backend:PowerPC bugzilla Issues migrated from bugzilla

Comments

@llvmbot
Copy link
Collaborator

llvmbot commented Jan 17, 2014

Bugzilla Link 18515
Resolution FIXED
Resolved on Jan 22, 2014 14:37
Version trunk
OS All
Reporter LLVM Bugzilla Contributor
CC @hfinkel

Extended Description

llc -march=ppc32 -mcpu=440 -filetype=obj -o test.o

crashes on

define void @​f() {
fence acquire
ret void
}

The PowerPC backend has a pretty complete MC support, so the fix should be trivial, but it is probably better if someone familiar with the ISA looks at it.

My guess from the existing code is that is most cpus msync is as alias for "sync 0", but on "book E" versions there is not "sync 0" and msync is a proper instruction.

@llvmbot
Copy link
Collaborator Author

llvmbot commented Jan 22, 2014

Fixed in r199832

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 9, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend:PowerPC bugzilla Issues migrated from bugzilla
Projects
None yet
Development

No branches or pull requests

1 participant