1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc --mtriple=loongarch32 < %s | FileCheck %s
4 declare void @llvm.loongarch.cacop.w(i32, i32, i32)
6 define void @cacop_w(i32 %a) nounwind {
7 ; CHECK-LABEL: cacop_w:
9 ; CHECK-NEXT: cacop 1, $a0, 4
11 call void @llvm.loongarch.cacop.w(i32 1, i32 %a, i32 4)