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
206 B
LLVM
9 lines
206 B
LLVM
; RUN: not llvm-as < %s |& FileCheck %s
|
|
|
|
; CHECK: invalid cast opcode for cast from '<4 x i64>' to '<3 x i8>'
|
|
|
|
define <3 x i8> @foo(<4 x i64> %x) {
|
|
%y = trunc <4 x i64> %x to <3 x i8>
|
|
ret <3 x i8> %y
|
|
}
|