summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/InstSimplify
diff options
context:
space:
mode:
authorCameron McInally <cameron.mcinally@nyu.edu>2018-10-09 21:48:00 +0000
committerCameron McInally <cameron.mcinally@nyu.edu>2018-10-09 21:48:00 +0000
commitbea5967e8ce465734d59823d5b3d24453ae949b0 (patch)
treee72378ac957cf339a3271130604002bba255697a /llvm/test/Transforms/InstSimplify
parent2b53b4bea611824a933123780357b5a2cbe2ed0f (diff)
downloadbcm5719-llvm-bea5967e8ce465734d59823d5b3d24453ae949b0.tar.gz
bcm5719-llvm-bea5967e8ce465734d59823d5b3d24453ae949b0.zip
[FPEnv] PatternMatcher support for checking FNEG ignoring signed zeros
https://reviews.llvm.org/D52934 llvm-svn: 344084
Diffstat (limited to 'llvm/test/Transforms/InstSimplify')
-rw-r--r--llvm/test/Transforms/InstSimplify/fast-math.ll4
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/test/Transforms/InstSimplify/fast-math.ll b/llvm/test/Transforms/InstSimplify/fast-math.ll
index 018c9641692..08fb6112e57 100644
--- a/llvm/test/Transforms/InstSimplify/fast-math.ll
+++ b/llvm/test/Transforms/InstSimplify/fast-math.ll
@@ -401,9 +401,7 @@ define float @fdiv_neg_swapped2(float %f) {
define <2 x float> @fdiv_neg_vec_undef_elt(<2 x float> %f) {
; CHECK-LABEL: @fdiv_neg_vec_undef_elt(
-; CHECK-NEXT: [[NEG:%.*]] = fsub <2 x float> <float 0.000000e+00, float undef>, [[F:%.*]]
-; CHECK-NEXT: [[DIV:%.*]] = fdiv nnan <2 x float> [[F]], [[NEG]]
-; CHECK-NEXT: ret <2 x float> [[DIV]]
+; CHECK-NEXT: ret <2 x float> <float -1.000000e+00, float -1.000000e+00>
;
%neg = fsub <2 x float> <float 0.0, float undef>, %f
%div = fdiv nnan <2 x float> %f, %neg
OpenPOWER on IntegriCloud