We were always generating a single source HADDPD, but really we should only do this if shouldUseHorizontalOp says its a good idea.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
This broke building ffmpeg/libav for mingw, with errors like "Cannot select: t22: v2f64 = X86ISD::FHADD t21, t21". See https://bugs.llvm.org/show_bug.cgi?id=43729 for details.
Comment Actions
I think we just need to add “Subtarget.hasSSE3() &&” before the call to shouldUseHorizontal.