aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/PowerPC/2009-08-17-inline-asm-addr-mode-breakage.ll
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2010-05-28 23:26:21 +0000
committerEvan Cheng <evan.cheng@apple.com>2010-05-28 23:26:21 +0000
commit046fa3f90a31ebfa10df89ae348f478d492709a9 (patch)
tree1d3415f2b8e95c2566e2bd357775c8b5be581d46 /test/CodeGen/PowerPC/2009-08-17-inline-asm-addr-mode-breakage.ll
parentc10f5434b4ad0758f948c52c18d5740c7f44e8b3 (diff)
downloadexternal_llvm-046fa3f90a31ebfa10df89ae348f478d492709a9.zip
external_llvm-046fa3f90a31ebfa10df89ae348f478d492709a9.tar.gz
external_llvm-046fa3f90a31ebfa10df89ae348f478d492709a9.tar.bz2
Fix some latency computation bugs: if the use is not a machine opcode do not just return zero.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105061 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/PowerPC/2009-08-17-inline-asm-addr-mode-breakage.ll')
-rw-r--r--test/CodeGen/PowerPC/2009-08-17-inline-asm-addr-mode-breakage.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/PowerPC/2009-08-17-inline-asm-addr-mode-breakage.ll b/test/CodeGen/PowerPC/2009-08-17-inline-asm-addr-mode-breakage.ll
index 50a0278..6a3c440 100644
--- a/test/CodeGen/PowerPC/2009-08-17-inline-asm-addr-mode-breakage.ll
+++ b/test/CodeGen/PowerPC/2009-08-17-inline-asm-addr-mode-breakage.ll
@@ -10,8 +10,8 @@ target triple = "powerpc-apple-darwin10.0"
define void @foo(i32 %y) nounwind ssp {
entry:
; CHECK: foo
-; CHECK: add r4
-; CHECK: 0(r4)
+; CHECK: add r3
+; CHECK: 0(r3)
%y_addr = alloca i32 ; <i32*> [#uses=2]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store i32 %y, i32* %y_addr