mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-12 18:33:22 +00:00
07121ea974
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232728 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
336 B
LLVM
11 lines
336 B
LLVM
; Extracted from test/CodeGen/Generic/vector-casts.ll: used to loop indefinitely.
|
|
; RUN: llc -march=hexagon < %s | FileCheck %s
|
|
; CHECK: packhl
|
|
|
|
define void @a(<2 x double>* %p, <2 x i8>* %q) {
|
|
%t = load <2 x double>, <2 x double>* %p
|
|
%r = fptosi <2 x double> %t to <2 x i8>
|
|
store <2 x i8> %r, <2 x i8>* %q
|
|
ret void
|
|
}
|