[llvm-dev] Is it a good idea to mark class as deprecated? (original) (raw)

陳韋任 via llvm-dev llvm-dev at lists.llvm.org
Thu Apr 27 07:13:15 PDT 2017


Hi All,

During a discussion about instruction scheduling in LLVM [1], I realize that class PostRASchedulerList actually is deprecated. The documentation of instruction scheduling is pretty poor, so I cannot find such information. Removing the obsoleted class might be too aggressive. I am wondering if we can mark the class as deprecated [2] (seems C++14 feature required), or at least making a note on [3].

Thoughts? :-)

[1] http://lists.llvm.org/pipermail/llvm-dev/2017-April/112358.html [2] http://josephmansfield.uk/articles/marking-deprecated-c++14.html [3] http://llvm.org/docs/CodeGenerator.html#selectiondag-scheduling-and-formation-phase

-- Wei-Ren Chen (陳韋任) Homepage: https://people.cs.nctu.edu.tw/~chenwj



More information about the llvm-dev mailing list