[llvm] r344490 - [X86] Autogenerate checks. NFC
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Sun Oct 14 22:31:24 PDT 2018
Author: ctopper
Date: Sun Oct 14 22:31:24 2018
New Revision: 344490
URL: http://llvm.org/viewvc/llvm-project?rev=344490&view=rev
Log:
[X86] Autogenerate checks. NFC
Modified:
llvm/trunk/test/CodeGen/X86/fold-vex.ll
Modified: llvm/trunk/test/CodeGen/X86/fold-vex.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/fold-vex.ll?rev=344490&r1=344489&r2=344490&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/fold-vex.ll (original)
+++ llvm/trunk/test/CodeGen/X86/fold-vex.ll Sun Oct 14 22:31:24 2018
@@ -1,3 +1,4 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; Use CPU parameters to ensure that a CPU-specific attribute is not overriding the AVX definition.
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+avx | FileCheck %s
@@ -14,18 +15,20 @@
; unless specially configured on some CPUs such as AMD Family 10H.
define <4 x i32> @test1(<4 x i32>* %p0, <4 x i32> %in1) nounwind {
+; CHECK-LABEL: test1:
+; CHECK: # %bb.0:
+; CHECK-NEXT: vandps (%rdi), %xmm0, %xmm0
+; CHECK-NEXT: retq
+;
+; SSE-LABEL: test1:
+; SSE: # %bb.0:
+; SSE-NEXT: movups (%rdi), %xmm1
+; SSE-NEXT: andps %xmm1, %xmm0
+; SSE-NEXT: retq
%in0 = load <4 x i32>, <4 x i32>* %p0, align 2
%a = and <4 x i32> %in0, %in1
ret <4 x i32> %a
-; CHECK-LABEL: @test1
-; CHECK-NOT: vmovups
-; CHECK: vandps (%rdi), %xmm0, %xmm0
-; CHECK-NEXT: ret
-
-; SSE-LABEL: @test1
-; SSE: movups (%rdi), %xmm1
-; SSE-NEXT: andps %xmm1, %xmm0
-; SSE-NEXT: ret
+
}
More information about the llvm-commits
mailing list