aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/PowerPC/coalesce-ext.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/PowerPC/coalesce-ext.ll')
-rw-r--r--test/CodeGen/PowerPC/coalesce-ext.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/CodeGen/PowerPC/coalesce-ext.ll b/test/CodeGen/PowerPC/coalesce-ext.ll
index cc80f83..f19175c 100644
--- a/test/CodeGen/PowerPC/coalesce-ext.ll
+++ b/test/CodeGen/PowerPC/coalesce-ext.ll
@@ -13,5 +13,6 @@ define i32 @test1sext(i64 %A, i64 %B, i32* %P, i64 *%P2) nounwind {
store volatile i32 %D, i32* %P
; Reuse low bits of extended register, don't extend live range of SUM.
; CHECK: stw [[EXT]]
- ret i32 %D
+ %R = add i32 %D, %D
+ ret i32 %R
}