[llvm] [NVPTX] Support lowering of `(l)lround` (PR #183901)
Mitch Briles via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 10 07:28:29 PDT 2026
================
@@ -3468,6 +3484,9 @@ NVPTXTargetLowering::LowerOperation(SDValue Op, SelectionDAG &DAG) const {
return lowerSELECT(Op, DAG);
case ISD::FROUND:
return LowerFROUND(Op, DAG);
+ case ISD::LROUND:
+ case ISD::LLROUND:
+ return LowerLROUND(Op, DAG);
----------------
MitchBriles wrote:
`lrint` uses the current rounding mode, `lround` ignores it. Maybe I'm not understanding what you're suggesting, sorry.
https://github.com/llvm/llvm-project/pull/183901
More information about the llvm-commits
mailing list