Skip to content

Commit ea07675

Browse files
committed
address comment
1 parent 6f83e29 commit ea07675

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2298,8 +2298,8 @@ SDValue NVPTXTargetLowering::LowerSTACKRESTORE(SDValue Op,
22982298

22992299
DiagnosticInfoUnsupported NoStackRestore(
23002300
Fn,
2301-
"Support for stackrestore introduced in PTX ISA version 7.3 and "
2302-
"requires target sm_52.",
2301+
"Support for stackrestore requires PTX ISA version >= 7.3 and target "
2302+
">= sm_52.",
23032303
DL.getDebugLoc());
23042304
DAG.getContext()->diagnose(NoStackRestore);
23052305
return Op.getOperand(0);
@@ -2321,8 +2321,8 @@ SDValue NVPTXTargetLowering::LowerSTACKSAVE(SDValue Op,
23212321

23222322
DiagnosticInfoUnsupported NoStackSave(
23232323
Fn,
2324-
"Support for stacksave introduced in PTX ISA version 7.3 and "
2325-
"requires target sm_52.",
2324+
"Support for stacksave requires PTX ISA version >= 7.3 and target >= "
2325+
"sm_52.",
23262326
DL.getDebugLoc());
23272327
DAG.getContext()->diagnose(NoStackSave);
23282328
auto Ops = {DAG.getConstant(0, DL, Op.getValueType()), Op.getOperand(0)};

0 commit comments

Comments
 (0)