mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-29 10:32:47 +00:00
7cb1b5f5bf
llc using the host cpu features and *waning* on unknown features is probably not a good thing :-( git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189144 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
283 B
LLVM
12 lines
283 B
LLVM
; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=corei7-avx -mattr=-sse4.1
|
|
|
|
target triple = "x86_64-unknown-linux-gnu"
|
|
|
|
define void @m387(<2 x i8>* %p, <2 x i16>* %q) {
|
|
%t = load <2 x i8>* %p
|
|
%r = sext <2 x i8> %t to <2 x i16>
|
|
store <2 x i16> %r, <2 x i16>* %q
|
|
ret void
|
|
}
|
|
|