Teach DataLayout to infer a plausible alignment for things even when nothing is speci...
authorOwen Anderson <resistor@mac.com>
Sun, 8 Mar 2015 21:53:59 +0000 (21:53 +0000)
committerOwen Anderson <resistor@mac.com>
Sun, 8 Mar 2015 21:53:59 +0000 (21:53 +0000)
commitc03496d4d02ee1d560a80c323e5bbef7b3bd7320
treea3db4dd61c103b6e964a3e3d7dd63d2e0f767505
parent692f7382b5d50099a6112ac2d11f769d9589422a
Teach DataLayout to infer a plausible alignment for things even when nothing is specified by the user.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231613 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/DataLayout.cpp
test/Transforms/InstCombine/default-alignment.ll [new file with mode: 0644]