commit | 35b282e0ac388a13e5d3c5fcb27b39693b79ae33 | [log] [tgz] |
---|---|---|
author | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | Thu Jul 13 18:17:10 2017 +0000 |
committer | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | Thu Jul 13 18:17:10 2017 +0000 |
tree | ad8656b4ab76b9a2f9d819a22711d4555665a144 | |
parent | 4632cb1499e0cd57b5b986371e4bd4dff1b0f6cf [diff] |
[PowerPC] Ensure displacements for DQ-Form instructions are multiples of 16 As outlined in the PR, we didn't ensure that displacements for DQ-Form instructions are multiples of 16. Since the instruction encoding encodes a quad-word displacement, a sub-16 byte displacement is meaningless and ends up being encoded incorrectly. Fixes https://bugs.llvm.org/show_bug.cgi?id=33671. Differential Revision: https://reviews.llvm.org/D35007 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307934 91177308-0d34-0410-b5e6-96231b3b80d8