DADToDAG has access to TargetLowering, but not vice versa, so this is
the more general location for these functions.
NFC
Paths
| Differential D28795
[NVPTX] Move getDivF32Level, usePrecSqrtF32, and useF32FTZ into out of DAGToDAG and into TargetLowering. ClosedPublic Authored by jlebar on Jan 16 2017, 11:27 PM.
Details Summary DADToDAG has access to TargetLowering, but not vice versa, so this is NFC
Diff Detail
Event Timelinejlebar added a child revision: D28794: [NVPTX] Upgrade NVVM intrinsics in InstCombineCalls..Jan 16 2017, 11:30 PM jlebar added a child revision: D28508: [NVPTX] Implement NVPTXTargetLowering::getSqrtEstimate..Jan 17 2017, 12:18 AM
This revision is now accepted and ready to land.Jan 20 2017, 10:04 AM Closed by commit rL292693: [NVPTX] Move getDivF32Level, usePrecSqrtF32, and useF32FTZ into out of DAGToDAG… (authored by jlebar). · Explain WhyJan 20 2017, 5:11 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 84636 llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
llvm/lib/Target/NVPTX/NVPTXISelLowering.h
llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
|
This looks like a todo item. :-)