[PATCH] D62963: [DAGCombine] GetNegatedExpression - constant float vector support (PR42105)
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 25 07:31:08 PDT 2019
RKSimon added a comment.
Reduced:
define <4 x double> @sub(double %a0, <4 x double> %a1) {
entry:
%splat.splatinsert = insertelement <4 x double> undef, double %a0, i32 0
%splat.splat = shufflevector <4 x double> %splat.splatinsert, <4 x double> undef, <4 x i32> zeroinitializer
%div = fdiv fast <4 x double> %a1, %splat.splat
%sub = fsub fast <4 x double> <double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00>, %div
ret <4 x double> %sub
}
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D62963/new/
https://reviews.llvm.org/D62963
More information about the llvm-commits
mailing list