summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/InstructionSimplify.cpp
diff options
context:
space:
mode:
authorMomchil Velikov <momchil.velikov@arm.com>2020-01-09 13:47:52 +0000
committerMomchil Velikov <momchil.velikov@arm.com>2020-01-09 14:03:25 +0000
commit173b711e83d7b61a46f55eb44f03ea98f69a1dd6 (patch)
tree4bd566faed42ae6fede048e4b04713c66d97db31 /llvm/lib/Analysis/InstructionSimplify.cpp
parent032a9393a739a1ef8c30979e2493971207c3c397 (diff)
downloadbcm5719-llvm-173b711e83d7b61a46f55eb44f03ea98f69a1dd6.tar.gz
bcm5719-llvm-173b711e83d7b61a46f55eb44f03ea98f69a1dd6.zip
[ARM][MVE] MVE-I should not be disabled by -mfpu=none
Architecturally, it's allowed to have MVE-I without an FPU, thus -mfpu=none should not disable MVE-I, or moves to/from FP-registers. This patch removes `+/-fpregs` from features unconditionally added to target feature list, depending on FPU and moves the logic to Clang driver, where the negative form (`-fpregs`) is conditionally added to the target features list for the cases of `-mfloat-abi=soft`, or `-mfpu=none` without either `+mve` or `+mve.fp`. Only the negative form is added by the driver, the positive one is derived from other features in the backend. Differential Revision: https://reviews.llvm.org/D71843
Diffstat (limited to 'llvm/lib/Analysis/InstructionSimplify.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud