Skip to content

Commit 484adfe

Browse files
committed
fix comment
1 parent 52fadde commit 484adfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -955,7 +955,7 @@ NVPTXTargetLowering::NVPTXTargetLowering(const NVPTXTargetMachine &TM,
955955
{ISD::FDIV, ISD::FREM, ISD::FSQRT, ISD::FSIN, ISD::FCOS, ISD::FTANH}) {
956956
setOperationAction(Op, MVT::f16, Promote);
957957
setOperationAction(Op, MVT::f32, Legal);
958-
// fsin, fcos, and ftanh are not supported on f64
958+
// only div/rem/sqrt are legal for f64
959959
if (Op == ISD::FDIV || Op == ISD::FREM || Op == ISD::FSQRT) {
960960
setOperationAction(Op, MVT::f64, Legal);
961961
}

0 commit comments

Comments
 (0)