]> granicus.if.org Git - clang/commit
AArch64: refactor table-driven NEON lookup.
authorTim Northover <tnorthover@apple.com>
Fri, 21 Feb 2014 11:57:20 +0000 (11:57 +0000)
committerTim Northover <tnorthover@apple.com>
Fri, 21 Feb 2014 11:57:20 +0000 (11:57 +0000)
commita67b8f1151aa6e3c60bc99314f6eae4547b7e8f0
tree94c4f4095b2734bc3b2b3b31e352a6c80cd05a87
parent1400d5b9da320359808fb2fcfe3d6dc7b9b03029
AArch64: refactor table-driven NEON lookup.

This extracts the table-driven intrinsic lookup phase into a separate
function, to be used by EmitCommonNeonBuiltinExpr soon.

It also simplifies the logic used in that lookup, since VectorCastArgN
and ScalarArgN were actually identical.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201847 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGBuiltin.cpp
lib/CodeGen/CodeGenFunction.h