From 0a3e33b633aa645465b6bda0bba82788b0644a01 Mon Sep 17 00:00:00 2001 From: Hal Finkel Date: Sat, 9 Jun 2012 22:10:19 +0000 Subject: Improve ext/trunc patterns on PPC64. The PPC64 backend had patterns for i32 <-> i64 extensions and truncations that would leave self-moves in the final assembly. Replacing those patterns with ones based on the SUBREG builtins yields better-looking code. Thanks to Jakob and Owen for their suggestions in this matter. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158283 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/PowerPC/ctrloops.ll | 1 + 1 file changed, 1 insertion(+) (limited to 'test/CodeGen/PowerPC/ctrloops.ll') diff --git a/test/CodeGen/PowerPC/ctrloops.ll b/test/CodeGen/PowerPC/ctrloops.ll index f7bd354ce8..4b6f7b94af 100644 --- a/test/CodeGen/PowerPC/ctrloops.ll +++ b/test/CodeGen/PowerPC/ctrloops.ll @@ -20,6 +20,7 @@ for.body: ; preds = %for.body, %entry for.end: ; preds = %for.body ret void ; CHECK: @test1 +; CHECK-NOT: or 3, 3, 3 ; CHECK: mtctr ; CHECK-NOT: addi ; CHECK-NOT: cmplwi -- cgit v1.2.3-18-g5258