]> granicus.if.org Git - llvm/commitdiff
[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)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@284982 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/select_const.ll

index a6c2377e036626e1d0c136a42fcaeffba5a55883..2165b80e52161a10b7c0f9c8f016d703c465030e 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
-
 }
+