From a86343512845c9c1fdbac865fea88aa5fce7142a Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Wed, 17 Apr 2019 02:12:23 +0000 Subject: Temporarily Revert "Add basic loop fusion pass." As it's causing some bot failures (and per request from kbarton). This reverts commit r358543/ab70da07286e618016e78247e4a24fcb84077fda. llvm-svn: 358546 --- llvm/test/Transforms/InstCombine/X86/x86-f16c.ll | 68 ------------------------ 1 file changed, 68 deletions(-) delete mode 100644 llvm/test/Transforms/InstCombine/X86/x86-f16c.ll (limited to 'llvm/test/Transforms/InstCombine/X86/x86-f16c.ll') diff --git a/llvm/test/Transforms/InstCombine/X86/x86-f16c.ll b/llvm/test/Transforms/InstCombine/X86/x86-f16c.ll deleted file mode 100644 index 6b5b6cb26ed..00000000000 --- a/llvm/test/Transforms/InstCombine/X86/x86-f16c.ll +++ /dev/null @@ -1,68 +0,0 @@ -; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s - -declare <4 x float> @llvm.x86.vcvtph2ps.128(<8 x i16>) -declare <8 x float> @llvm.x86.vcvtph2ps.256(<8 x i16>) - -; -; Vector Demanded Bits -; - -; Only bottom 4 elements required. -define <4 x float> @demand_vcvtph2ps_128(<8 x i16> %A) { -; CHECK-LABEL: @demand_vcvtph2ps_128( -; CHECK-NEXT: [[TMP1:%.*]] = tail call <4 x float> @llvm.x86.vcvtph2ps.128(<8 x i16> %A) -; CHECK-NEXT: ret <4 x float> [[TMP1]] -; - %1 = shufflevector <8 x i16> %A, <8 x i16> undef, <8 x i32> - %2 = tail call <4 x float> @llvm.x86.vcvtph2ps.128(<8 x i16> %1) - ret <4 x float> %2 -} - -; All 8 elements required. -define <8 x float> @demand_vcvtph2ps_256(<8 x i16> %A) { -; CHECK-LABEL: @demand_vcvtph2ps_256( -; CHECK-NEXT: [[TMP1:%.*]] = shufflevector <8 x i16> %A, <8 x i16> undef, <8 x i32> -; CHECK-NEXT: [[TMP2:%.*]] = tail call <8 x float> @llvm.x86.vcvtph2ps.256(<8 x i16> [[TMP1]]) -; CHECK-NEXT: ret <8 x float> [[TMP2]] -; - %1 = shufflevector <8 x i16> %A, <8 x i16> undef, <8 x i32> - %2 = tail call <8 x float> @llvm.x86.vcvtph2ps.256(<8 x i16> %1) - ret <8 x float> %2 -} - -; -; Constant Folding -; - -define <4 x float> @fold_vcvtph2ps_128() { -; CHECK-LABEL: @fold_vcvtph2ps_128( -; CHECK-NEXT: ret <4 x float> -; - %1 = tail call <4 x float> @llvm.x86.vcvtph2ps.128(<8 x i16> ) - ret <4 x float> %1 -} - -define <8 x float> @fold_vcvtph2ps_256() { -; CHECK-LABEL: @fold_vcvtph2ps_256( -; CHECK-NEXT: ret <8 x float> -; - %1 = tail call <8 x float> @llvm.x86.vcvtph2ps.256(<8 x i16> ) - ret <8 x float> %1 -} - -define <4 x float> @fold_vcvtph2ps_128_zero() { -; CHECK-LABEL: @fold_vcvtph2ps_128_zero( -; CHECK-NEXT: ret <4 x float> zeroinitializer -; - %1 = tail call <4 x float> @llvm.x86.vcvtph2ps.128(<8 x i16> ) - ret <4 x float> %1 -} - -define <8 x float> @fold_vcvtph2ps_256_zero() { -; CHECK-LABEL: @fold_vcvtph2ps_256_zero( -; CHECK-NEXT: ret <8 x float> zeroinitializer -; - %1 = tail call <8 x float> @llvm.x86.vcvtph2ps.256(<8 x i16> ) - ret <8 x float> %1 -} -- cgit v1.2.3