[PATCH] D88659: [FE]Split SuitableAlign into two parts
Xiangling Liao via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 20 10:22:16 PDT 2020
Xiangling_L updated this revision to Diff 299404.
Xiangling_L added a comment.
Herald added a subscriber: dexonsmith.
Edit the definition of `SuitableAlign`;
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D88659/new/
https://reviews.llvm.org/D88659
Files:
clang/include/clang/Basic/TargetInfo.h
Index: clang/include/clang/Basic/TargetInfo.h
===================================================================
--- clang/include/clang/Basic/TargetInfo.h
+++ clang/include/clang/Basic/TargetInfo.h
@@ -581,8 +581,9 @@
/// Determine whether constrained floating point is supported on this target.
virtual bool hasStrictFP() const { return HasStrictFP; }
- /// Return the alignment that is suitable for storing any
- /// object with a fundamental alignment requirement.
+ /// Return the alignment that is the largest alignment ever used for any
+ /// scalar/SIMD data type on the target machine you are compiling for
+ /// (including types with an extended alignment requirement).
unsigned getSuitableAlign() const { return SuitableAlign; }
/// Return the default alignment for __attribute__((aligned)) on
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88659.299404.patch
Type: text/x-patch
Size: 827 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201020/3d9c8bdf/attachment.bin>
More information about the cfe-commits
mailing list