projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e8b295
)
[InstCombine] Add a TODO comment
author
Jay Foad
<jay.foad@gmail.com>
Wed, 7 Aug 2019 15:18:34 +0000
(15:18 +0000)
committer
Jay Foad
<jay.foad@gmail.com>
Wed, 7 Aug 2019 15:18:34 +0000
(15:18 +0000)
llvm-svn: 368176
llvm/test/Transforms/InstCombine/select_arithmetic.ll
patch
|
blob
|
history
diff --git
a/llvm/test/Transforms/InstCombine/select_arithmetic.ll
b/llvm/test/Transforms/InstCombine/select_arithmetic.ll
index 79f24a1aa95b46be1b0fee1ba3aaec056507a5e0..535e62a3c74c3bf12ac0880b3245e89c0ba20cd7 100644
(file)
--- a/
llvm/test/Transforms/InstCombine/select_arithmetic.ll
+++ b/
llvm/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