mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-15 05:24:01 +00:00
Fold vector selects with undef elements in the condition. Fixes PR18319.
Patch by Ilia Filippov! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198267 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -5,5 +5,5 @@ define <2 x i32> @main() {
|
||||
}
|
||||
|
||||
; CHECK: define <2 x i32> @main() {
|
||||
; CHECK: ret <2 x i32> select (<2 x i1> <i1 false, i1 undef>, <2 x i32> zeroinitializer, <2 x i32> <i32 0, i32 undef>)
|
||||
; CHECK: ret <2 x i32> <i32 0, i32 undef>
|
||||
; CHECK: }
|
||||
|
Reference in New Issue
Block a user