From ca74e83a8364c6985a7dcafc3a0eea45006c383b Mon Sep 17 00:00:00 2001 From: Jay Foad Date: Wed, 7 Aug 2019 15:18:34 +0000 Subject: [PATCH] [InstCombine] Add a TODO comment llvm-svn: 368176 --- test/Transforms/InstCombine/select_arithmetic.ll | 1 + 1 file changed, 1 insertion(+) diff --git a/test/Transforms/InstCombine/select_arithmetic.ll b/test/Transforms/InstCombine/select_arithmetic.ll index 79f24a1aa95..535e62a3c74 100644 --- a/test/Transforms/InstCombine/select_arithmetic.ll +++ b/test/Transforms/InstCombine/select_arithmetic.ll @@ -124,6 +124,7 @@ define double @fsub_nnan(i1 %cond, double %val, double %val2) { ret double %add } +; TODO combine selects feeding fdiv like we do for fmul, fadd and fsub define double @fdiv_nnan_nsz(i1 %cond, double %val, double %val2) { ; CHECK-LABEL: @fdiv_nnan_nsz( ; CHECK-NEXT: [[LHS:%.*]] = select i1 [[COND:%.*]], double [[VAL2:%.*]], double 0.000000e+00