mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-24 22:32:47 +00:00
36a0947820
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81290 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
329 B
LLVM
12 lines
329 B
LLVM
; RUN: llc < %s -march=x86
|
|
; PR3037
|
|
|
|
define void @entry(<4 x i8>* %dest) {
|
|
%1 = xor <4 x i1> zeroinitializer, < i1 true, i1 true, i1 true, i1 true >
|
|
%2 = extractelement <4 x i1> %1, i32 3
|
|
%3 = zext i1 %2 to i8
|
|
%4 = insertelement <4 x i8> zeroinitializer, i8 %3, i32 3
|
|
store <4 x i8> %4, <4 x i8>* %dest, align 1
|
|
ret void
|
|
}
|