HomePhabricator

[ARM] Add command-line option for SB

Authored by dnsampaio on Jan 3 2019, 4:09 AM.

Description

[ARM] Add command-line option for SB

SB (Speculative Barrier) is only mandatory from 8.5
onwards but is optional from Armv8.0-A. This patch adds a command
line option to enable SB, as it was previously only possible to
enable by selecting -march=armv8.5-a.

This patch also renames FeatureSpecRestrict to FeatureSB.

Reviewed By: olista01, LukeCheeseman

Differential Revision: https://reviews.llvm.org/D55990

llvm-svn: 350299

Details

Committed
dnsampaioJan 3 2019, 4:09 AM
Reviewer
olista01
Differential Revision
D55990: [ARM] Add command-line option for SB
Parents
rG31d730525824: PECOFF: Remove tabs introduced accidentally in r350094
Branches
Unknown
Tags
Unknown