Skip to content

Commit f4c6d31

Browse files
committed
fix comment
1 parent e7ede36 commit f4c6d31

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
@@ -953,7 +953,7 @@ NVPTXTargetLowering::NVPTXTargetLowering(const NVPTXTargetMachine &TM,
953953
{ISD::FDIV, ISD::FREM, ISD::FSQRT, ISD::FSIN, ISD::FCOS, ISD::FTANH}) {
954954
setOperationAction(Op, MVT::f16, Promote);
955955
setOperationAction(Op, MVT::f32, Legal);
956-
// fsin, fcos, and ftanh are not supported on f64
956+
// only div/rem/sqrt are legal for f64
957957
if (Op == ISD::FDIV || Op == ISD::FREM || Op == ISD::FSQRT) {
958958
setOperationAction(Op, MVT::f64, Legal);
959959
}

0 commit comments

Comments
 (0)