[PATCH] D69161: [IR] Allow fast math flags on calls with floating point array type.
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 18 06:35:34 PDT 2019
spatel added a comment.
The LangRef needs edits for this change.
I think this patch is also allowing the following constructs, but not testing for them.
define [3 x float] @arrayselect(i1 %cond, [3 x float] %x, [3 x float] %y) {
%sel = select ninf i1 %cond, [3 x float] %x, [3 x float] %y
ret [3 x float] %sel
}
define [1 x float] @arrayphi(i1 %cond, [1 x float] %x, [1 x float] %y) {
entry:
br i1 %cond, label %t, label %f
t:
br label %exit
f:
br label %exit
exit:
%phi = phi nnan [1 x float] [ %x, %t ], [ %y, %f ]
ret [1 x float] %phi
}
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D69161/new/
https://reviews.llvm.org/D69161
More information about the llvm-commits
mailing list