Skip to content

Commit 3e0c7c8

Browse files
committed
Tidy up comment.
1 parent a0bf06e commit 3e0c7c8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3040,7 +3040,8 @@ bool AMDGPUDAGToDAGISel::SelectVOP3ModsImpl(SDValue In, SDValue &Src,
30403040
// for 16-bit types as the codegen replaces the operand without adding a
30413041
// srcmod. This is intentionally finding the cases where we are performing
30423042
// float neg and abs on int types, the goal is not to obtain two's complement
3043-
// neg or abs. Hence, this is non-canonicalizing.
3043+
// neg or abs. Limit converison to select operands via the nonCanonalizing
3044+
// pattern.
30443045
// TODO: Add 16-bit support.
30453046
if (IsCanonicalizing)
30463047
return true;

0 commit comments

Comments
 (0)