[clang] a2d4b06 - [z/OS] Make MinGlobalAlign consistent with SystemZ

Fanbo Meng via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 27 12:39:24 PDT 2021


Author: Fanbo Meng
Date: 2021-07-27T15:39:14-04:00
New Revision: a2d4b064644bdf146d0649c6a70e595567f1213f

URL: https://github.com/llvm/llvm-project/commit/a2d4b064644bdf146d0649c6a70e595567f1213f
DIFF: https://github.com/llvm/llvm-project/commit/a2d4b064644bdf146d0649c6a70e595567f1213f.diff

LOG: [z/OS] Make MinGlobalAlign consistent with SystemZ

Remove overriding MinGlobalAlign to 0 for z/OS target to be consistent with SystemZ.

Reviewed By: abhina.sreeskantharajan

Differential Revision: https://reviews.llvm.org/D106890

Added: 
    

Modified: 
    clang/lib/Basic/Targets/OSTargets.h

Removed: 
    


################################################################################
diff  --git a/clang/lib/Basic/Targets/OSTargets.h b/clang/lib/Basic/Targets/OSTargets.h
index 31f8b4bea30d9..e24fb5cf082df 100644
--- a/clang/lib/Basic/Targets/OSTargets.h
+++ b/clang/lib/Basic/Targets/OSTargets.h
@@ -796,7 +796,6 @@ class LLVM_LIBRARY_VISIBILITY ZOSTargetInfo : public OSTargetInfo<Target> {
     this->UseZeroLengthBitfieldAlignment = true;
     this->UseLeadingZeroLengthBitfield = false;
     this->ZeroLengthBitfieldBoundary = 32;
-    this->MinGlobalAlign = 0;
     this->DefaultAlignForAttributeAligned = 128;
   }
 };


        


More information about the cfe-commits mailing list