Hal Finkel <[email protected]> wrote on 23.06.2015 02:30:53: > - CGF.Builder.CreateStore(Src, DstPtr, DstIsVolatile); > + llvm::StoreInst *SI = CGF.Builder.CreateStore(Src, DstPtr, > DstIsVolatile); > + SI->setAlignment(DstAlign.getQuantity()); > return; > > You can use CreateAlignedStore instead of CreateStore here (and in > several other places).
Hi Hal, here's an updated version of the patch that uses CreateAlignedStore (and CreateAlignedLoad) throughout: (See attached file: clang-align-coerced) Bye, Ulrich
clang-align-coerced
Description: Binary data
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
