]> granicus.if.org Git - clang/commit
AArch64: look up EmitAArch64Scalar support before calling.
authorTim Northover <tnorthover@apple.com>
Wed, 19 Feb 2014 11:55:06 +0000 (11:55 +0000)
committerTim Northover <tnorthover@apple.com>
Wed, 19 Feb 2014 11:55:06 +0000 (11:55 +0000)
commit7d2228a72e2275c3a8cf2fc7d2b04bfad2955788
tree7aae064729258bb955bfc2684301cc8fadf886db
parent7e4849356354e48bb034f4867990d954df695b72
AArch64: look up EmitAArch64Scalar support before calling.

This fixes one immediate bug where an expression with side-effects
could be emitted twice during a NEON call.

It also prepares the way for folding CodeGen for many of the SISD
intrinsics into a table, reducing code size and hopefully increasing
performance eventually ("binary search + few switch cases" should be
better than "lots of switch cases").

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201667 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGBuiltin.cpp
test/CodeGen/aarch64-neon-ld-sideeffect.c [new file with mode: 0644]
utils/TableGen/NeonEmitter.cpp