summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorDaniel Cederman <cederman@gaisler.com>2018-07-16 12:28:26 +0000
committerDaniel Cederman <cederman@gaisler.com>2018-07-16 12:28:26 +0000
commit92a700a215ae940fc2cad41c3a28eed5c38a76b0 (patch)
tree4ade43a12b629568c991a8c90ec17a52f163feba /llvm/test
parentab09da7b57c373f3da9483dc8a0d3d646f88d7d4 (diff)
downloadbcm5719-llvm-92a700a215ae940fc2cad41c3a28eed5c38a76b0.tar.gz
bcm5719-llvm-92a700a215ae940fc2cad41c3a28eed5c38a76b0.zip
[Sparc] Use the correct encoding for ta 3
Summary: The old encoding generated a "tn %g1 + 3" instruction instead of the expected "ta 3". Reviewers: venkatra, jyknight Reviewed By: jyknight Subscribers: fedor.sergeev, jrtc27, llvm-commits Differential Revision: https://reviews.llvm.org/D49171 llvm-svn: 337165
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/CodeGen/SPARC/2011-01-11-FrameAddr.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/SPARC/2011-01-11-FrameAddr.ll b/llvm/test/CodeGen/SPARC/2011-01-11-FrameAddr.ll
index 1c8e7d8636f..0d0ce0e28cb 100644
--- a/llvm/test/CodeGen/SPARC/2011-01-11-FrameAddr.ll
+++ b/llvm/test/CodeGen/SPARC/2011-01-11-FrameAddr.ll
@@ -1,6 +1,6 @@
-;RUN: llc -march=sparc < %s | FileCheck %s -check-prefix=V8
+;RUN: llc -march=sparc -show-mc-encoding < %s | FileCheck %s -check-prefix=V8
;RUN: llc -march=sparc -mattr=v9 < %s | FileCheck %s -check-prefix=V9
-;RUN: llc -march=sparc -regalloc=basic < %s | FileCheck %s -check-prefix=V8
+;RUN: llc -march=sparc -show-mc-encoding -regalloc=basic < %s | FileCheck %s -check-prefix=V8
;RUN: llc -march=sparc -regalloc=basic -mattr=v9 < %s | FileCheck %s -check-prefix=V9
;RUN: llc -march=sparcv9 < %s | FileCheck %s -check-prefix=SPARC64
@@ -31,7 +31,7 @@ entry:
define i8* @frameaddr2() nounwind readnone {
entry:
;V8-LABEL: frameaddr2:
-;V8: ta 3
+;V8: ta 3 ! encoding: [0x91,0xd0,0x20,0x03]
;V8: ld [%fp+56], {{.+}}
;V8: ld [{{.+}}+56], {{.+}}
;V8: ld [{{.+}}+56], {{.+}}
OpenPOWER on IntegriCloud