projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f1d905
)
[docs][LangRef] Fix typo in llvm.smul.fix example
author
Nuno Lopes
<nuno.lopes@tecnico.ulisboa.pt>
Tue, 17 May 2022 20:36:36 +0000
(21:36 +0100)
committer
GitHub
<noreply@github.com>
Tue, 17 May 2022 20:36:36 +0000
(21:36 +0100)
llvm/docs/LangRef.rst
patch
|
blob
|
history
diff --git
a/llvm/docs/LangRef.rst
b/llvm/docs/LangRef.rst
index
e0905bb
..
f5ba612
100644
(file)
--- a/
llvm/docs/LangRef.rst
+++ b/
llvm/docs/LangRef.rst
@@
-15857,7
+15857,7
@@
multiplication can be represented as
; Expands to
%a2 = sext i4 %a to i8
%b2 = sext i4 %b to i8
- %mul = mul nsw nuw i8 %a
, %b
+ %mul = mul nsw nuw i8 %a
2, %b2
%scale2 = trunc i32 %scale to i8
%r = ashr i8 %mul, i8 %scale2 ; this is for a target rounding down towards negative infinity
%result = trunc i8 %r to i4