[PATCH] D24435: Delete more dead code in SelectionDAG (NFC)

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 13 14:03:29 PDT 2016


mehdi_amini added inline comments.

================
Comment at: include/llvm/CodeGen/SelectionDAG.h:561
@@ -560,3 +560,1 @@
-  SDValue getTargetIndex(int Index, EVT VT, int64_t Offset = 0,
-                         unsigned char TargetFlags = 0);
   // When generating a branch to a BB, we don't in general know enough
----------------
vsk wrote:
> RKSimon wrote:
> > This should stay while TargetIndexSDNode exists.
> > 
> > However, TargetIndexSDNode doesn't appear to be used so maybe start a conversion on llvm-dev about removing it and if successful then propose a separate patch?
> It looks like this code has out of tree users (see r250717), so I won't mess with it.
If there are out-of-tree users that care about having this API upstream, they should provide coverage testing for it, otherwise this can live in the downstream codebase...


https://reviews.llvm.org/D24435





More information about the llvm-commits mailing list