summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py
diff options
context:
space:
mode:
authorSimon Tatham <simon.tatham@arm.com>2019-10-16 13:23:39 +0000
committerSimon Tatham <simon.tatham@arm.com>2019-10-16 13:23:39 +0000
commitfdccf28697e5debe861247d218cbbecf9fd4323e (patch)
tree28c9671bd7abbf33abdede6289c395698042d190 /lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py
parent2f6da767f13b8fd81f840c211d405fea32ac9db7 (diff)
downloadbcm5719-llvm-fdccf28697e5debe861247d218cbbecf9fd4323e.tar.gz
bcm5719-llvm-fdccf28697e5debe861247d218cbbecf9fd4323e.zip
[Driver,ARM] Make -mfloat-abi=soft turn off MVE.
Since `-mfloat-abi=soft` is taken to mean turning off all uses of the FP registers, it should turn off the MVE vector instructions as well as NEON and scalar FP. But it wasn't doing so. So the options `-march=armv8.1-m.main+mve.fp+fp.dp -mfloat-abi=soft` would cause the underlying LLVM to //not// support MVE (because it knows the real target feature relationships and turned off MVE when the `fpregs` feature was removed), but the clang layer still thought it //was// supported, and would misleadingly define the feature macro `__ARM_FEATURE_MVE`. The ARM driver code already has a long list of feature names to turn off when `-mfloat-abi=soft` is selected. The fix is to add the missing entries `mve` and `mve.fp` to that list. Reviewers: dmgreen Subscribers: kristof.beyls, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D69025 llvm-svn: 375001
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud