HomePhabricator

[ARM] Preserve fpu behaviour for '-crypto'

Description

[ARM] Preserve fpu behaviour for '-crypto'

Summary:
This patch restores the behaviour that -fpu overwrites the
architecture obtained from -march or -mcpu flags, not enforcing to
disable 'crypto' if march=armv7 and mfpu=neon-fp-armv8.
However, it does warn that 'crypto' is ignored when passing
mfpu=crypto-neon-fp-armv8.

Reviewers: peter.smith, labrinea

Reviewed By: peter.smith

Subscribers: nickdesaulniers, kristof.beyls, dmgreen, cfe-commits, krisb

Tags: #clang

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

Details

Committed
dnsampaioOct 14 2019, 9:29 AM
Reviewer
peter.smith
Differential Revision
D67608: [ARM] Preserve fpu behaviour for '-crypto'
Parents
rL374784: Reapply r374743 with a fix for the ocaml binding
Branches
Unknown
Tags
Unknown