Relax expressions and add explicit triplets -linux and -win32.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 22 Feb 2011 07:20:35 +0000 (07:20 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 22 Feb 2011 07:20:35 +0000 (07:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126206 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/lsr-overflow.ll

index 0b0214c6d9f8a5baf5887c1f0124dc5428b545db..5bc4f7e96a0b9d28e3927e6ebba2aa1ac4bfad3e 100644 (file)
@@ -1,10 +1,11 @@
-; RUN: llc < %s -march=x86-64 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-win32 | FileCheck %s
 
 ; The comparison uses the pre-inc value, which could lead LSR to
 ; try to compute -INT64_MIN.
 
 ; CHECK: movabsq $-9223372036854775808, %rax
-; CHECK: cmpq  %rax, %rbx
+; CHECK: cmpq  %rax,
 ; CHECK: sete  %al
 
 declare i64 @bar()