summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorJames Molloy <james.molloy@arm.com>2017-04-05 10:44:38 +0000
committerJames Molloy <james.molloy@arm.com>2017-04-05 10:44:38 +0000
commit9d42334e02c25ec77c4f465676806121b56e0764 (patch)
tree3c7dcbbd74cec706c9eba2c9ed2ca567ab818675 /llvm/lib/Target
parent56abf209c21f63dc57ac182563cb0f0a743d74ae (diff)
downloadbcm5719-llvm-9d42334e02c25ec77c4f465676806121b56e0764.tar.gz
bcm5719-llvm-9d42334e02c25ec77c4f465676806121b56e0764.zip
[AArch64] Crypto requires FP.
So if FP is disabled, crypto should also be disabled. llvm-svn: 299531
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/AArch64/AArch64.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64.td b/llvm/lib/Target/AArch64/AArch64.td
index 84473fd72ad..519ca289468 100644
--- a/llvm/lib/Target/AArch64/AArch64.td
+++ b/llvm/lib/Target/AArch64/AArch64.td
@@ -27,7 +27,7 @@ def FeatureNEON : SubtargetFeature<"neon", "HasNEON", "true",
"Enable Advanced SIMD instructions", [FeatureFPARMv8]>;
def FeatureCrypto : SubtargetFeature<"crypto", "HasCrypto", "true",
- "Enable cryptographic instructions">;
+ "Enable cryptographic instructions", [FeatureNEON]>;
def FeatureCRC : SubtargetFeature<"crc", "HasCRC", "true",
"Enable ARMv8 CRC-32 checksum instructions">;
OpenPOWER on IntegriCloud