aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/invalid_cast.ll
blob: c5b082b6b8d628248df868ac7412c5838a1fac04 (plain)
1
2
3
4
5
6
; RUN: not llvm-as < %s |& grep {invalid cast opcode}

define <3 x i8> @foo(<4 x i64> %x) {
  %y = trunc <4 x i64> %x to <3 x i8>
  ret <3 x i8> %y
}