commit | ef854af5bd231ae0c059eb4f07d13352d2a50a9d | [log] [tgz] |
---|---|---|
author | Duncan Sands <baldrick@free.fr> | Thu May 21 15:52:21 2009 +0000 |
committer | Duncan Sands <baldrick@free.fr> | Thu May 21 15:52:21 2009 +0000 |
tree | 1ffe037dbd917d3dc1434c1947079f899fcf51d8 | |
parent | e3e51c0038bd6ba2add82e2246e97edec0ab2204 [diff] |
Add a getAlignOf helper for getting the ABI alignment of a type as a target independent constant expression. I confess that I didn't check that this method works as intended (though I did test the equivalent hand-written IR a little). But what could possibly go wrong! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72213 91177308-0d34-0410-b5e6-96231b3b80d8