Skip to content

Commit 3a95c68

Browse files
authored
[clang][RISCV] Update vcpop.v C interface to follow the nameing convention (#94318)
We named the intrinsics by replacing "." by "_" in the instruction conventionally, so the `vcpopv_v` where the corresponding instruction is `vcpop.v` should be named `vcpop_v`.
1 parent 3716a3c commit 3a95c68

File tree

5 files changed

+794
-793
lines changed

5 files changed

+794
-793
lines changed

clang/include/clang/Basic/riscv_vector.td

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2637,7 +2637,8 @@ let UnMaskedPolicyScheme = HasPassthruOperand in {
26372637
defm vbrev : RVVOutBuiltinSetZvbb;
26382638
defm vclz : RVVOutBuiltinSetZvbb;
26392639
defm vctz : RVVOutBuiltinSetZvbb;
2640-
defm vcpopv : RVVOutBuiltinSetZvbb;
2640+
let IRName = "vcpopv", MaskedIRName = "vcpopv_mask" in
2641+
defm vcpop : RVVOutBuiltinSetZvbb;
26412642
let OverloadedName = "vwsll" in
26422643
defm vwsll : RVVSignedWidenBinBuiltinSetVwsll;
26432644
}

0 commit comments

Comments
 (0)