[PATCH] D14483: Destructor loads of struct that do not contains padding in InstCombine.

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 12 16:59:57 PST 2015


joker.eph added inline comments.

================
Comment at: include/llvm/IR/DataLayout.h:489
@@ +488,3 @@
+  /// \brief Returns wiether the struct has padding or not between it field.
+  /// NB: Padding in nested element is not taken into account.
+  bool hasPadding() const { return IsPadded; }
----------------
no brief
s/wiether/whether/
s/it field/its fields/



http://reviews.llvm.org/D14483





More information about the llvm-commits mailing list