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

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 11 17:46:48 PST 2015


joker.eph added inline comments.

================
Comment at: include/llvm/IR/DataLayout.h:478
@@ -477,2 +477,3 @@
   unsigned StructAlignment;
-  unsigned NumElements;
+  bool IsPadded : 1;
+  unsigned NumElements : 31;
----------------
I think it needs a description, especially since it does not track padding in nested struct IIUC.


http://reviews.llvm.org/D14483





More information about the llvm-commits mailing list