From f8751b8ee6efd4bfee9b76262b1542b139bf067a Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Wed, 4 Jan 2023 18:40:30 -0800 Subject: [PATCH] [TargetLowering] Remove stale FIXME. NFC This was implemented for scalars in D140750. --- llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp index f7e6003..b7b5d79 100644 --- a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp @@ -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; -- 2.7.4