From b77cb95744ee56bfccaabc59be0329ced6a6ecfd Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Wed, 26 Jul 2017 16:45:57 +0000 Subject: [PATCH] [X86] Regenerate setcc tests llvm-svn: 309138 --- llvm/test/CodeGen/X86/setcc-lowering.ll | 2 +- llvm/test/CodeGen/X86/setcc-narrowing.ll | 13 ++++++++----- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/llvm/test/CodeGen/X86/setcc-lowering.ll b/llvm/test/CodeGen/X86/setcc-lowering.ll index 2628f82..4b94415 100644 --- a/llvm/test/CodeGen/X86/setcc-lowering.ll +++ b/llvm/test/CodeGen/X86/setcc-lowering.ll @@ -23,7 +23,7 @@ define <8 x i16> @pr25080(<8 x i32> %a) { ; ; KNL-32-LABEL: pr25080: ; KNL-32: # BB#0: # %entry -; KNL-32-NEXT: vpbroadcastd {{\.LCPI.*}}, %ymm1 +; KNL-32-NEXT: vpbroadcastd {{.*#+}} ymm1 = [8388607,8388607,8388607,8388607,8388607,8388607,8388607,8388607] ; KNL-32-NEXT: vpand %ymm1, %ymm0, %ymm0 ; KNL-32-NEXT: vpxor %ymm1, %ymm1, %ymm1 ; KNL-32-NEXT: vpcmpeqd %zmm1, %zmm0, %k0 diff --git a/llvm/test/CodeGen/X86/setcc-narrowing.ll b/llvm/test/CodeGen/X86/setcc-narrowing.ll index a4259dd..c914ef3 100644 --- a/llvm/test/CodeGen/X86/setcc-narrowing.ll +++ b/llvm/test/CodeGen/X86/setcc-narrowing.ll @@ -1,15 +1,18 @@ +; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py ; RUN: llc < %s -mtriple=i686-apple-darwin | FileCheck %s ; PR17338 @t1.global = internal global i64 -1, align 8 define i32 @t1() nounwind ssp { -entry: ; CHECK-LABEL: t1: -; CHECK: xorl %eax, %eax -; CHECK-NEXT: cmpl $0, _t1.global -; CHECK-NEXT: setne %al -; CHECK-NEXT: ret +; CHECK: ## BB#0: ## %entry +; CHECK-NEXT: xorl %eax, %eax +; CHECK-NEXT: cmpl $0, _t1.global +; CHECK-NEXT: setne %al +; CHECK-NEXT: retl +; CHECK-NEXT: ## -- End function +entry: %0 = load i64, i64* @t1.global, align 8 %and = and i64 4294967295, %0 %cmp = icmp sgt i64 %and, 0 -- 2.7.4