summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen
diff options
context:
space:
mode:
authorBen Craig <ben.craig@codeaurora.org>2015-12-14 21:54:11 +0000
committerBen Craig <ben.craig@codeaurora.org>2015-12-14 21:54:11 +0000
commitcd7e9f143b14b6b3de6f4335df52ce21ab2e740e (patch)
treedf021eb9904ebeecb3bf6c36fcb54bcca44c01b1 /clang/lib/CodeGen
parent87b4aa8914833a22eba10e618f946fd22dda0cc8 (diff)
downloadbcm5719-llvm-cd7e9f143b14b6b3de6f4335df52ce21ab2e740e.tar.gz
bcm5719-llvm-cd7e9f143b14b6b3de6f4335df52ce21ab2e740e.zip
Reordering fields to reduce padding in Clang. NFC
llvm-svn: 255552
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r--clang/lib/CodeGen/CGBuiltin.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/clang/lib/CodeGen/CGBuiltin.cpp b/clang/lib/CodeGen/CGBuiltin.cpp
index 10493d396d0..787ac5361bb 100644
--- a/clang/lib/CodeGen/CGBuiltin.cpp
+++ b/clang/lib/CodeGen/CGBuiltin.cpp
@@ -2236,10 +2236,10 @@ enum {
namespace {
struct NeonIntrinsicInfo {
+ const char *NameHint;
unsigned BuiltinID;
unsigned LLVMIntrinsic;
unsigned AltLLVMIntrinsic;
- const char *NameHint;
unsigned TypeModifier;
bool operator<(unsigned RHSBuiltinID) const {
@@ -2252,16 +2252,16 @@ struct NeonIntrinsicInfo {
} // end anonymous namespace
#define NEONMAP0(NameBase) \
- { NEON::BI__builtin_neon_ ## NameBase, 0, 0, #NameBase, 0 }
+ { #NameBase, NEON::BI__builtin_neon_ ## NameBase, 0, 0, 0 }
#define NEONMAP1(NameBase, LLVMIntrinsic, TypeModifier) \
- { NEON:: BI__builtin_neon_ ## NameBase, \
- Intrinsic::LLVMIntrinsic, 0, #NameBase, TypeModifier }
+ { #NameBase, NEON:: BI__builtin_neon_ ## NameBase, \
+ Intrinsic::LLVMIntrinsic, 0, TypeModifier }
#define NEONMAP2(NameBase, LLVMIntrinsic, AltLLVMIntrinsic, TypeModifier) \
- { NEON:: BI__builtin_neon_ ## NameBase, \
+ { #NameBase, NEON:: BI__builtin_neon_ ## NameBase, \
Intrinsic::LLVMIntrinsic, Intrinsic::AltLLVMIntrinsic, \
- #NameBase, TypeModifier }
+ TypeModifier }
static const NeonIntrinsicInfo ARMSIMDIntrinsicMap [] = {
NEONMAP2(vabd_v, arm_neon_vabdu, arm_neon_vabds, Add1ArgType | UnsignedAlts),
OpenPOWER on IntegriCloud