mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Fix type error in insertvalue example in LangRef. %agg1 is of type {i32,
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
This commit is contained in:
parent
78834e522f
commit
c5bdff0176
@ -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:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user