summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/phys_subreg_coalesce-3.ll
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-05-04 23:54:59 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-05-04 23:54:59 +0000
commit49b2803ec227cd196f896138e9e16ea19eead92e (patch)
treee3a152d27815b77028ca7cd63d2afa0c8d576f3f /test/CodeGen/X86/phys_subreg_coalesce-3.ll
parent4f5de9bb406f93e9a20c2ce19b00f5fc2683cc9c (diff)
downloadllvm-49b2803ec227cd196f896138e9e16ea19eead92e.tar.gz
llvm-49b2803ec227cd196f896138e9e16ea19eead92e.tar.bz2
llvm-49b2803ec227cd196f896138e9e16ea19eead92e.tar.xz
Prepare remaining tests for -join-physreg going away.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130893 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/phys_subreg_coalesce-3.ll')
-rw-r--r--test/CodeGen/X86/phys_subreg_coalesce-3.ll7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/CodeGen/X86/phys_subreg_coalesce-3.ll b/test/CodeGen/X86/phys_subreg_coalesce-3.ll
index f23669ed9a..4162015ea8 100644
--- a/test/CodeGen/X86/phys_subreg_coalesce-3.ll
+++ b/test/CodeGen/X86/phys_subreg_coalesce-3.ll
@@ -1,6 +1,11 @@
-; RUN: llc < %s -mtriple=i386-apple-darwin | FileCheck %s
+; RUN: llc < %s -mtriple=i386-apple-darwin -join-physregs | FileCheck %s
; rdar://5571034
+; This requires physreg joining, %vreg13 is live everywhere:
+; 304L %CL<def> = COPY %vreg13:sub_8bit; GR32_ABCD:%vreg13
+; 320L %vreg15<def> = COPY %vreg19; GR32:%vreg15 GR32_NOSP:%vreg19
+; 336L %vreg15<def> = SAR32rCL %vreg15, %EFLAGS<imp-def,dead>, %CL<imp-use,kill>; GR32:%vreg15
+
define void @foo(i32* nocapture %quadrant, i32* nocapture %ptr, i32 %bbSize, i32 %bbStart, i32 %shifts) nounwind ssp {
; CHECK: foo:
entry: