================
@@ -3605,6 +3605,12 @@ bool SparcTargetLowering::useLoadStackGuardNode(const 
Module &M) const {
   return true;
 }
 
+bool SparcTargetLowering::isFNegFree(EVT VT) const {
+  if (Subtarget->isVIS3())
+    return VT == MVT::f32 || VT == MVT::f64;
+  return false;
+}
----------------
arsenm wrote:

This ideally would be completely separate patch from the patterns. This enables 
independent combines 

https://github.com/llvm/llvm-project/pull/135717
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to