mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Silly mistake from r137777; restore significant isStructTy() checks. While here, be a bit more defensive
with unknown instructions. Fixes PR10687. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137836 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -161,3 +161,12 @@ define i1 @test9() {
|
||||
; CHECK: @test9
|
||||
; CHECK: icmp ugt
|
||||
}
|
||||
|
||||
; Make sure we handle extractvalue
|
||||
define i64 @test10() {
|
||||
entry:
|
||||
%e = extractvalue { i64, i64 } undef, 1
|
||||
ret i64 %e
|
||||
; CHECK: @test10
|
||||
; CHECK: ret i64 undef
|
||||
}
|
||||
|
Reference in New Issue
Block a user