[TargetLowering] Remove stale FIXME. NFC
authorCraig Topper <craig.topper@sifive.com>
Thu, 5 Jan 2023 02:40:30 +0000 (18:40 -0800)
committerCraig Topper <craig.topper@sifive.com>
Thu, 5 Jan 2023 02:40:42 +0000 (18:40 -0800)
This was implemented for scalars in D140750.

llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp

index f7e6003..b7b5d79 100644 (file)
@@ -6039,8 +6039,6 @@ SDValue TargetLowering::BuildUDIV(SDNode *N, SelectionDAG &DAG,
   auto BuildUDIVPattern = [&](ConstantSDNode *C) {
     if (C->isZero())
       return false;
-    // FIXME: We should use a narrower constant when the upper
-    // bits are known to be zero.
     const APInt& Divisor = C->getAPIntValue();
 
     bool SelNPQ = false;