[llvm] [DAG] Reducing instructions by better legalization handling of AVGFLOORU for i128 data types (PR #99913)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 22 15:29:58 PDT 2024


================
@@ -9318,7 +9318,8 @@ SDValue TargetLowering::expandAVG(SDNode *N, SelectionDAG &DAG) const {
   unsigned ExtOpc = IsSigned ? ISD::SIGN_EXTEND : ISD::ZERO_EXTEND;
   assert((Opc == ISD::AVGFLOORS || Opc == ISD::AVGCEILS ||
           Opc == ISD::AVGFLOORU || Opc == ISD::AVGCEILU) &&
-         "Unknown AVG node");
+         "Unknown AVG node"); 
----------------
topperc wrote:

Extra whitespace at the end of this line.

https://github.com/llvm/llvm-project/pull/99913


More information about the llvm-commits mailing list