mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
a0126afec8
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154281 91177308-0d34-0410-b5e6-96231b3b80d8
9 lines
182 B
LLVM
9 lines
182 B
LLVM
; RUN: not llvm-as < %s |& FileCheck %s
|
|
|
|
; CHECK: invalid cast opcode for cast from '<4 x i64>' to 'i8'
|
|
|
|
define i8 @foo(<4 x i64> %x) {
|
|
%y = trunc <4 x i64> %x to i8
|
|
ret i8 %y
|
|
}
|