rjmccall added inline comments.

================
Comment at: lib/CodeGen/CGValue.h:234
     this->Quals = Quals;
     this->Alignment = Alignment.getQuantity();
     assert(this->Alignment == Alignment.getQuantity() &&
----------------
Please saturate Alignment here instead of allowing it to be truncated: that is, 
if the passed-in alignment is greater than (1U << 31), please store (1U << 31).


https://reviews.llvm.org/D44445



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to