diff options
author | Tim Northover <tnorthover@apple.com> | 2015-05-01 21:17:25 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2015-05-01 21:17:25 +0000 |
commit | f9b517c1596a7f13c4b2be68c0ff5db1b1d96afb (patch) | |
tree | 3f50140b3cd115c172c3c16c451bd0f987223a06 /clang/lib/Basic/Targets.cpp | |
parent | b6625654755873ccee7c2c824b3084f5740d8a0a (diff) | |
download | bcm5719-llvm-f9b517c1596a7f13c4b2be68c0ff5db1b1d96afb.tar.gz bcm5719-llvm-f9b517c1596a7f13c4b2be68c0ff5db1b1d96afb.zip |
ARM: merge Cyclone into other ARMv8 CPUs and add tests for features.
Cyclone actually supports all the goodies you'd expect to come with an AArch64
CPU, so it doesn't need its own clause. Also we should probably be testing
these clauses.
llvm-svn: 236349
Diffstat (limited to 'clang/lib/Basic/Targets.cpp')
-rw-r--r-- | clang/lib/Basic/Targets.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/clang/lib/Basic/Targets.cpp b/clang/lib/Basic/Targets.cpp index 39bc3e3a6ed..d253f7e25b6 100644 --- a/clang/lib/Basic/Targets.cpp +++ b/clang/lib/Basic/Targets.cpp @@ -4172,12 +4172,8 @@ public: Features["neon"] = true; Features["hwdiv"] = true; Features["hwdiv-arm"] = true; - } else if (CPU == "cyclone") { - Features["v8fp"] = true; - Features["neon"] = true; - Features["hwdiv"] = true; - Features["hwdiv-arm"] = true; - } else if (CPU == "cortex-a53" || CPU == "cortex-a57" || CPU == "cortex-a72") { + } else if (CPU == "cyclone" || CPU == "cortex-a53" || CPU == "cortex-a57" || + CPU == "cortex-a72") { Features["fp-armv8"] = true; Features["neon"] = true; Features["hwdiv"] = true; |