This is an archive of the discontinued LLVM Phabricator instance.

[x86-64] allow mfence even with -mno-sse (PR23203)
ClosedPublic

Authored by spatel on Feb 12 2016, 3:09 PM.

Details

Summary

As shown in:
https://llvm.org/bugs/show_bug.cgi?id=23203
...we currently die because lowering believes that mfence is allowed without SSE2 on x86-64, but the instruction def doesn't know that.
I don't know if this is right, but if not, at least it's consistently wrong. :)

Diff Detail

Repository
rL LLVM

Event Timeline

spatel updated this revision to Diff 47861.Feb 12 2016, 3:09 PM
spatel retitled this revision from to [x86-64] allow mfence even with -mno-sse (PR23203).
spatel updated this object.
spatel added reviewers: jfb, craig.topper, majnemer.
spatel added a subscriber: llvm-commits.
majnemer accepted this revision.Feb 12 2016, 3:21 PM
majnemer edited edge metadata.

LGTM

This revision is now accepted and ready to land.Feb 12 2016, 3:21 PM
This revision was automatically updated to reflect the committed changes.