efriedma added inline comments.
================ Comment at: lib/CodeGen/CGDecl.cpp:902 + Builder.CreateAlignedStore( + Init, Loc, Loc->getPointerAlignment(CGM.getDataLayout()), isVolatile); return; ---------------- llvm::Value::getPointerAlignment is not the right way to compute the alignment (it tries to guess the alignment based on the IR). Please convert this to use a clang::CodeGen::Address instead. Repository: rC Clang https://reviews.llvm.org/D49209 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits