aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2019-10-13 10:48:38 +0200
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2019-10-13 10:51:59 +0200
commit644f5981d2a636af375ec6fb5b41b4a4aa884d15 (patch)
treec5e9053bdf3ed9479b31ea7bf12a194a1211d510
parent6837969854ad688dec4801c0af5831cf4f9a2de0 (diff)
downloadsparse-644f5981d2a636af375ec6fb5b41b4a4aa884d15.tar.gz
doc: fix typo in binops' description
Both operands of integer & floating-point binops are described as being '.src1' but, of course, the second one should be '.scr2'. Fix the typo. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
-rw-r--r--Documentation/IR.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/IR.rst b/Documentation/IR.rst
index 8ffc921a..9d6f2299 100644
--- a/Documentation/IR.rst
+++ b/Documentation/IR.rst
@@ -56,7 +56,7 @@ Terminators
Arithmetic binops
-----------------
They all follow the same signature:
- * .src1, .src1: operands (types must be compatible with .target)
+ * .src1, .src2: operands (types must be compatible with .target)
* .target: result of the operation (must be an integral type)
* .type: type of .target
@@ -93,7 +93,7 @@ They all follow the same signature:
Floating-point binops
---------------------
They all follow the same signature:
- * .src1, .src1: operands (types must be compatible with .target)
+ * .src1, .src2: operands (types must be compatible with .target)
* .target: result of the operation (must be a floating-point type)
* .type: type of .target