projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78834e5
)
Fix type error in insertvalue example in LangRef. %agg1 is of type {i32,
author
Dan Liew
<dan@su-root.co.uk>
Mon, 8 Sep 2014 21:19:46 +0000
(21:19 +0000)
committer
Dan Liew
<dan@su-root.co.uk>
Mon, 8 Sep 2014 21:19:46 +0000
(21:19 +0000)
float} and thus cannot be used where a type {i32, {float}} is expected.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217405
91177308
-0d34-0410-b5e6-
96231b3b80d8
docs/LangRef.rst
patch
|
blob
|
history
diff --git
a/docs/LangRef.rst
b/docs/LangRef.rst
index 8e574dfd7afd9c111b022cee2866301e9aaa4df7..b25dfdecfb976a29b86b07c0d9ea53f14a993c41 100644
(file)
--- a/
docs/LangRef.rst
+++ b/
docs/LangRef.rst
@@
-5075,7
+5075,7
@@
Example:
%agg1 = insertvalue {i32, float} undef, i32 1, 0 ; yields {i32 1, float undef}
%agg2 = insertvalue {i32, float} %agg1, float %val, 1 ; yields {i32 1, float %val}
- %agg3 = insertvalue {i32, {float}}
%agg1, float %val, 1, 0 ; yields {i32 1, float %val
}
+ %agg3 = insertvalue {i32, {float}}
undef, float %val, 1, 0 ; yields {i32 undef, {float %val}
}
.. _memoryops: