mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-25 21:18:19 +00:00
fix PR4963: folding insertvalue would sometimes turn a packed struct into
an unpacked one. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81845 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -21,3 +21,9 @@ define float @dar({{i32},{float, double}}* %p) nounwind {
|
||||
store {{i32},{float, double}} insertvalue ({{i32},{float, double}} zeroinitializer, double 20.0, 1, 1), {{i32},{float, double}}* %p
|
||||
ret float extractvalue ({{i32},{float, double}} zeroinitializer, 1, 0)
|
||||
}
|
||||
|
||||
|
||||
; PR4963
|
||||
define <{ i32, i32 }> @test57() {
|
||||
ret <{ i32, i32 }> insertvalue (<{ i32, i32 }> zeroinitializer, i32 4, 1)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user