[llvm] r348723 - [x86] regenerate test checks; NFC
Sanjay Patel via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 9 06:47:53 PST 2018
Author: spatel
Date: Sun Dec 9 06:47:53 2018
New Revision: 348723
URL: http://llvm.org/viewvc/llvm-project?rev=348723&view=rev
Log:
[x86] regenerate test checks; NFC
Modified:
llvm/trunk/test/CodeGen/X86/pr23664.ll
Modified: llvm/trunk/test/CodeGen/X86/pr23664.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/pr23664.ll?rev=348723&r1=348722&r2=348723&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/pr23664.ll (original)
+++ llvm/trunk/test/CodeGen/X86/pr23664.ll Sun Dec 9 06:47:53 2018
@@ -1,15 +1,17 @@
-; RUN: llc -mtriple=x86_64-unknown-linux-gnu < %s | FileCheck %s
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
+; RUN: llc -mtriple=x86_64-- < %s | FileCheck %s
define i2 @f(i32 %arg) {
+; CHECK-LABEL: f:
+; CHECK: # %bb.0:
+; CHECK-NEXT: movl %edi, %eax
+; CHECK-NEXT: addb %al, %al
+; CHECK-NEXT: orb $1, %al
+; CHECK-NEXT: # kill: def $al killed $al killed $eax
+; CHECK-NEXT: retq
%trunc = trunc i32 %arg to i1
%sext = sext i1 %trunc to i2
%or = or i2 %sext, 1
ret i2 %or
-
-; CHECK-LABEL: f:
-; CHECK: movl %edi, %eax
-; CHECK-NEXT: addb %al, %al
-; CHECK-NEXT: orb $1, %al
-; CHECK-NEXT: # kill
-; CHECK-NEXT: retq
}
+
More information about the llvm-commits
mailing list