This is an archive of the discontinued LLVM Phabricator instance.

[X86] Don't add implicit REP prefix to VIA PadLock xstore
ClosedPublic

Authored by jrtc27 on Oct 22 2021, 5:22 PM.

Details

Summary

Commit 8fa3e8fa1492 added an implicit REP prefix to all VIA PadLock
instructions, but GNU as doesn't add one to xstore, only all the others.
This resulted in a kernel panic regression in FreeBSD upon updating to
LLVM 11 (https://bugs.freebsd.org/259218) which includes the commit in
question. This partially reverts that commit.

Diff Detail

Event Timeline

jrtc27 created this revision.Oct 22 2021, 5:22 PM
jrtc27 requested review of this revision.Oct 22 2021, 5:22 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 22 2021, 5:22 PM
This revision is now accepted and ready to land.Oct 22 2021, 5:32 PM
This revision was landed with ongoing or failed builds.Oct 22 2021, 5:58 PM
This revision was automatically updated to reflect the committed changes.