1 ; RUN: llc < %s -mtriple=ve -mattr=+vpu | FileCheck %s
3 ;;; Test exclusive or vm intrinsic instructions
6 ;;; We test XORM*mm and XORM*yy instructions.
8 ; Function Attrs: nounwind readnone
9 define fastcc <256 x i1> @xorm_mmm(<256 x i1> %0, <256 x i1> %1) {
10 ; CHECK-LABEL: xorm_mmm:
12 ; CHECK-NEXT: xorm %vm1, %vm1, %vm2
13 ; CHECK-NEXT: b.l.t (, %s10)
14 %3 = tail call <256 x i1> @llvm.ve.vl.xorm.mmm(<256 x i1> %0, <256 x i1> %1)
18 ; Function Attrs: nounwind readnone
19 declare <256 x i1> @llvm.ve.vl.xorm.mmm(<256 x i1>, <256 x i1>)
21 ; Function Attrs: nounwind readnone
22 define fastcc <512 x i1> @xorm_MMM(<512 x i1> %0, <512 x i1> %1) {
23 ; CHECK-LABEL: xorm_MMM:
25 ; CHECK-NEXT: xorm %vm2, %vm2, %vm4
26 ; CHECK-NEXT: xorm %vm3, %vm3, %vm5
27 ; CHECK-NEXT: b.l.t (, %s10)
28 %3 = tail call <512 x i1> @llvm.ve.vl.xorm.MMM(<512 x i1> %0, <512 x i1> %1)
32 ; Function Attrs: nounwind readnone
33 declare <512 x i1> @llvm.ve.vl.xorm.MMM(<512 x i1>, <512 x i1>)