summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC/atomics-constant.ll
diff options
context:
space:
mode:
authorHiroshi Inoue <inouehrs@jp.ibm.com>2017-06-15 16:51:28 +0000
committerHiroshi Inoue <inouehrs@jp.ibm.com>2017-06-15 16:51:28 +0000
commit7a08bb145846730efc8a12ed1cb23a3534f30e72 (patch)
treeec547a1dd1c279f70da79f14c38c5c5973028c13 /llvm/test/CodeGen/PowerPC/atomics-constant.ll
parent24ca9da2dee135ef671f14707c709d17bd516498 (diff)
downloadbcm5719-llvm-7a08bb145846730efc8a12ed1cb23a3534f30e72.tar.gz
bcm5719-llvm-7a08bb145846730efc8a12ed1cb23a3534f30e72.zip
[PowerPC] fix potential verification errors on CFENCE8
This patch fixes a potential verification error (64-bit register operands for cmpw) with -verify-machineinstrs. Differential Revision: https://reviews.llvm.org/D34208 llvm-svn: 305479
Diffstat (limited to 'llvm/test/CodeGen/PowerPC/atomics-constant.ll')
-rw-r--r--llvm/test/CodeGen/PowerPC/atomics-constant.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/PowerPC/atomics-constant.ll b/llvm/test/CodeGen/PowerPC/atomics-constant.ll
index a92ca813af8..77825c608a3 100644
--- a/llvm/test/CodeGen/PowerPC/atomics-constant.ll
+++ b/llvm/test/CodeGen/PowerPC/atomics-constant.ll
@@ -11,7 +11,7 @@ define i64 @foo() {
; CHECK-NEXT: addis 3, 2, .LC0@toc@ha
; CHECK-NEXT: li 4, 0
; CHECK-NEXT: ld 3, .LC0@toc@l(3)
-; CHECK-NEXT: cmpw 7, 4, 4
+; CHECK-NEXT: cmpd 7, 4, 4
; CHECK-NEXT: ld 3, 0(3)
; CHECK-NEXT: bne- 7, .+4
; CHECK-NEXT: isync
OpenPOWER on IntegriCloud