[x86] regenerate checks
authorSanjay Patel <spatel@rotateright.com>
Mon, 24 Oct 2016 15:43:40 +0000 (15:43 +0000)
committerSanjay Patel <spatel@rotateright.com>
Mon, 24 Oct 2016 15:43:40 +0000 (15:43 +0000)
llvm-svn: 284982

llvm/test/CodeGen/X86/select_const.ll

index a6c2377..2165b80 100644 (file)
@@ -1,16 +1,17 @@
-; RUN: llc < %s -mtriple=x86_64-apple-darwin10 -mcpu=corei7 | FileCheck %s
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
+; RUN: llc < %s -mtriple=x86_64-unknown-unknown | FileCheck %s
 
-define i64 @test1(i64 %x) nounwind {
-entry:
+define i64 @select_2_or_inc(i64 %x) {
+; CHECK-LABEL: select_2_or_inc:
+; CHECK:       # BB#0:
+; CHECK-NEXT:    leaq 1(%rdi), %rax
+; CHECK-NEXT:    cmpq $2, %rdi
+; CHECK-NEXT:    cmoveq %rdi, %rax
+; CHECK-NEXT:    retq
+;
   %cmp = icmp eq i64 %x, 2
   %add = add i64 %x, 1
   %retval.0 = select i1 %cmp, i64 2, i64 %add
   ret i64 %retval.0
-
-; CHECK-LABEL: test1:
-; CHECK: leaq 1(%rdi), %rax
-; CHECK: cmpq $2, %rdi
-; CHECK: cmoveq %rdi, %rax
-; CHECK: ret
-
 }
+