LLVM Bugzilla is read-only and represents the historical archive of all LLVM issues filled before November 26, 2021. Use github to submit LLVM bugs

Bug 18515 - Crash trying to EmitRawText msync via the object streamer
Summary: Crash trying to EmitRawText msync via the object streamer
Status: RESOLVED FIXED
Alias: None
Product: libraries
Classification: Unclassified
Component: Backend: PowerPC (show other bugs)
Version: trunk
Hardware: PC All
: P normal
Assignee: Unassigned LLVM Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-17 00:49 PST by Rafael Ávila de Espíndola
Modified: 2014-01-22 14:37 PST (History)
2 users (show)

See Also:
Fixed By Commit(s):


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Ávila de Espíndola 2014-01-17 00:49:10 PST
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.
Comment 1 Rafael Ávila de Espíndola 2014-01-22 14:37:43 PST
Fixed in r199832