aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2014-02-19 10:37:09 +0000
committerTim Northover <tnorthover@apple.com>2014-02-19 10:37:09 +0000
commit544e79eb304fa561b687cfb823df270fc55e44dd (patch)
tree80cd4a1809e5e1a3aea55cc2eda0cb5a4e4c6897 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent12670418a3251e33a8b3787185cf4713a5fd2b95 (diff)
downloadllvm-544e79eb304fa561b687cfb823df270fc55e44dd.zip
llvm-544e79eb304fa561b687cfb823df270fc55e44dd.tar.gz
llvm-544e79eb304fa561b687cfb823df270fc55e44dd.tar.bz2
ARM NEON: use more flexible TableGen field for defs.
We used to have special handling for isCrypto and isA64 bits in the NeonEmitter.cpp file (it knew the former was predicated on __ARM_FEATURE_CRYPTO and the latter on __aarch64__ and went through various contortions to make sure the correct intrinsics were emitted under the correct guard. This is ugly and has obvious scalability problems (e.g. vcvtX intrinsics are needed, which are ARMv8 only but available on both, yet another category). This patch moves the #if predicate into the arm_neon.td file directly and makes NeonEmitter.cpp agnostic about what goes in there. It also deduplicates arm_neon.td so that each desired intrinsic is mentioned in just one place (necessary because of the new mechanism for creating arm_neon.h). rdar://problem/16035743 llvm-svn: 201660
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions