[PATCH] D48569: [AMDGPU] Convert rcp to rcp_iflag
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 25 23:57:58 PDT 2018
arsenm added inline comments.
================
Comment at: lib/Target/AMDGPU/SIISelLowering.cpp:6641
+ N0.getOpcode() == ISD::SINT_TO_FP)) {
+ return DCI.DAG.getNode(AMDGPUISD::RCP_IFLAG, SDLoc(N), VT, N0);
+ }
----------------
Preserve fast math flags?
================
Comment at: lib/Target/AMDGPU/SIISelLowering.cpp:6644
+
+ return AMDGPUTargetLowering::PerformDAGCombine(N, DCI);
+}
----------------
This can just return SDValue(). The base PerformDAGCombine isn't going to do anything here
https://reviews.llvm.org/D48569
More information about the llvm-commits
mailing list