Skip to content

Commit 0b9cd67

Browse files
committed
Tidy up comment.
1 parent 2ece2eb commit 0b9cd67

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
@@ -3216,7 +3216,8 @@ bool AMDGPUDAGToDAGISel::SelectVOP3ModsImpl(SDValue In, SDValue &Src,
32163216
// for 16-bit types as the codegen replaces the operand without adding a
32173217
// srcmod. This is intentionally finding the cases where we are performing
32183218
// float neg and abs on int types, the goal is not to obtain two's complement
3219-
// neg or abs. Hence, this is non-canonicalizing.
3219+
// neg or abs. Limit converison to select operands via the nonCanonalizing
3220+
// pattern.
32203221
// TODO: Add 16-bit support.
32213222
if (IsCanonicalizing)
32223223
return true;

0 commit comments

Comments
 (0)