commit | f2f9e2bcc5e9dd33c5c74e1aa615bf9f28f7d316 | [log] [tgz] |
---|---|---|
author | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | Thu Sep 22 19:06:38 2016 +0000 |
committer | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | Thu Sep 22 19:06:38 2016 +0000 |
tree | ae4f4f8b9e1c3b9f68ae4e5cf27dcce1c0d65ee9 | |
parent | 489cfe73c22cfb191ec8f334eb21745a349d7dfa [diff] |
[PowerPC] Sign extend sub-word values for atomic comparisons Atomic comparison instructions use the sub-word load instruction on Power8 and up but the value is not sign extended prior to the signed word compare instruction. This patch adds that sign extension. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@282182 91177308-0d34-0410-b5e6-96231b3b80d8