summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/add.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/add.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/add.ll')
-rw-r--r--test/CodeGen/X86/add.ll6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/CodeGen/X86/add.ll b/test/CodeGen/X86/add.ll
index b95e5b53c2..7bf527ab74 100644
--- a/test/CodeGen/X86/add.ll
+++ b/test/CodeGen/X86/add.ll
@@ -1,6 +1,8 @@
; RUN: llc < %s -march=x86 | FileCheck %s -check-prefix=X32
-; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s -check-prefix=X64
-; RUN: llc < %s -mtriple=x86_64-win32 | FileCheck %s -check-prefix=X64
+; RUN: llc < %s -mtriple=x86_64-linux -join-physregs | FileCheck %s -check-prefix=X64
+; RUN: llc < %s -mtriple=x86_64-win32 -join-physregs | FileCheck %s -check-prefix=X64
+
+; Some of these tests depend on -join-physregs to commute instructions.
; The immediate can be encoded in a smaller way if the
; instruction is a sub instead of an add.