aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen
diff options
context:
space:
mode:
authorKalle Raiskila <kalle.raiskila@nokia.com>2010-10-01 09:20:01 +0000
committerKalle Raiskila <kalle.raiskila@nokia.com>2010-10-01 09:20:01 +0000
commit8258135c908de13ceb771de1bacc8bf277bf8f70 (patch)
treef1be62159d1a82009807a15fb0299601814985fe /test/CodeGen
parent04fcbf954fef6d9866b5120f406e7401dc9aa29f (diff)
downloadexternal_llvm-8258135c908de13ceb771de1bacc8bf277bf8f70.zip
external_llvm-8258135c908de13ceb771de1bacc8bf277bf8f70.tar.gz
external_llvm-8258135c908de13ceb771de1bacc8bf277bf8f70.tar.bz2
Zap some redundant 'ori $?, $?, 0' from SPU.
Also remove some code that died in the process. One now non-existant ori is checked for. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115306 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
-rw-r--r--test/CodeGen/CellSPU/arg_ret.ll1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/CodeGen/CellSPU/arg_ret.ll b/test/CodeGen/CellSPU/arg_ret.ll
index 743292a..6f07458 100644
--- a/test/CodeGen/CellSPU/arg_ret.ll
+++ b/test/CodeGen/CellSPU/arg_ret.ll
@@ -27,6 +27,7 @@ define ccc i32 @test_regs_and_stack( %paramstruct %prm, i32 %stackprm )
define ccc %paramstruct @test_return( i32 %param, %paramstruct %prm )
{
;CHECK: lqd $75, 80($sp)
+;CHECK-NOT: ori {{\$[0-9]+, \$[0-9]+, 0}}
;CHECK: lr $3, $4
ret %paramstruct %prm
}