File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
include/llvm/CodeGen/GlobalISel Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -405,8 +405,8 @@ normal input. Also produce a carry output in addition to the normal result.
405
405
G_UMULH, G_SMULH
406
406
^^^^^^^^^^^^^^^^
407
407
408
- Multiply two numbers at twice the incoming bit width (signed) and return
409
- the high half of the result.
408
+ Multiply two numbers at twice the incoming bit width (unsigned or signed) and
409
+ return the high half of the result.
410
410
411
411
.. code-block :: none
412
412
Original file line number Diff line number Diff line change @@ -1449,8 +1449,8 @@ class MachineIRBuilder {
1449
1449
1450
1450
// / Build and insert \p Res = G_SUB \p Op0, \p Op1
1451
1451
// /
1452
- // / G_SUB sets \p Res to the sum of integer parameters \p Op0 and \p Op1,
1453
- // / truncated to their width.
1452
+ // / G_SUB sets \p Res to the difference of integer parameters \p Op0 and
1453
+ // / \p Op1, truncated to their width.
1454
1454
// /
1455
1455
// / \pre setBasicBlock or setMI must have been called.
1456
1456
// / \pre \p Res, \p Op0 and \p Op1 must be generic virtual registers
@@ -1466,7 +1466,7 @@ class MachineIRBuilder {
1466
1466
1467
1467
// / Build and insert \p Res = G_MUL \p Op0, \p Op1
1468
1468
// /
1469
- // / G_MUL sets \p Res to the sum of integer parameters \p Op0 and \p Op1,
1469
+ // / G_MUL sets \p Res to the product of integer parameters \p Op0 and \p Op1,
1470
1470
// / truncated to their width.
1471
1471
// /
1472
1472
// / \pre setBasicBlock or setMI must have been called.
You can’t perform that action at this time.
0 commit comments