commit | 304ec47e9bb8fd85f29e1f7c96d87985b53e5519 | [log] [tgz] |
---|---|---|
author | David Majnemer <david.majnemer@gmail.com> | Mon Jul 25 02:21:23 2016 +0000 |
committer | David Majnemer <david.majnemer@gmail.com> | Mon Jul 25 02:21:23 2016 +0000 |
tree | 787ccc27cbbee0068af16f798c8a04b20502953c | |
parent | 2d83d8a394590150aeec74669c4edbcf12fd2c3d [diff] |
[GVNHoist] Properly merge alignments when hoisting If we two loads of two different alignments, we must use the minimum of the two alignments when hoisting. Same deal for stores. For allocas, use the maximum of the two allocas. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@276601 91177308-0d34-0410-b5e6-96231b3b80d8