llvm.org GIT mirror llvm / baafdea
PPCSubtarget.h: Add explicit braces. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166932 91177308-0d34-0410-b5e6-96231b3b80d8 NAKAMURA Takumi 7 years ago
1 changed file(s) with 2 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
112112 const char *getDataLayoutString() const {
113113 // Note, the alignment values for f64 and i64 on ppc64 in Darwin
114114 // documentation are wrong; these are correct (i.e. "what gcc does").
115 if (isPPC64() && isSVR4ABI())
115 if (isPPC64() && isSVR4ABI()) {
116116 if (TargetTriple.getOS() == llvm::Triple::FreeBSD)
117117 return "E-p:64:64-f64:64:64-i64:64:64-f128:64:64-v128:128:128-n32:64";
118118 else
119119 return "E-p:64:64-f64:64:64-i64:64:64-f128:128:128-v128:128:128-n32:64";
120 }
120121
121122 return isPPC64() ? "E-p:64:64-f64:64:64-i64:64:64-f128:64:128-n32:64"
122123 : "E-p:32:32-f64:64:64-i64:64:64-f128:64:128-n32";