]> granicus.if.org Git - clang/commit
Clean up type flags for overloaded Neon builtins. No functional change.
authorBob Wilson <bob.wilson@apple.com>
Tue, 8 Nov 2011 01:16:11 +0000 (01:16 +0000)
committerBob Wilson <bob.wilson@apple.com>
Tue, 8 Nov 2011 01:16:11 +0000 (01:16 +0000)
commitda95f73b59f9af964e33725c515139d34c90c863
tree366c5e1ac7b2b1bdc51e0dad058c7155eb61dd08
parentbc05f57cba6655d1f8ff7f17338dac63139b878e
Clean up type flags for overloaded Neon builtins.  No functional change.

This patch just adds a simple NeonTypeFlags class to replace the various
hardcoded constants that had been used until now.  Unfortunately I couldn't
figure out a good way to avoid duplicating that class between clang and
TableGen, but since it's small and rarely changes, that's not so bad.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@144054 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/TargetBuiltins.h
lib/CodeGen/CGBuiltin.cpp
lib/Sema/SemaChecking.cpp
utils/TableGen/NeonEmitter.cpp
utils/TableGen/NeonEmitter.h