From 9d42334e02c25ec77c4f465676806121b56e0764 Mon Sep 17 00:00:00 2001 From: James Molloy Date: Wed, 5 Apr 2017 10:44:38 +0000 Subject: [AArch64] Crypto requires FP. So if FP is disabled, crypto should also be disabled. llvm-svn: 299531 --- llvm/lib/Target/AArch64/AArch64.td | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Target') 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">; -- cgit v1.2.3