Skip to content

Commit 5fc7c38

Browse files
tclin914rlavaee
authored andcommitted
[RISCV] Remove required features zvfhmin from vslideup/vslidedown
Similar to llvm#145891.
1 parent fec5c47 commit 5fc7c38

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

clang/include/clang/Basic/riscv_vector_common.td

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -591,11 +591,8 @@ class RVVMaskOp0Builtin<string prototype> : RVVOp0Builtin<"m", prototype, "c"> {
591591
let UnMaskedPolicyScheme = HasPolicyOperand,
592592
HasMaskedOffOperand = false in {
593593
multiclass RVVSlideUpBuiltinSet {
594-
defm "" : RVVOutBuiltinSet<NAME, "csilfd",
594+
defm "" : RVVOutBuiltinSet<NAME, "csilxfd",
595595
[["vx","v", "vvvz"]]>;
596-
let RequiredFeatures = ["zvfhmin"] in
597-
defm "" : RVVOutBuiltinSet<NAME, "x",
598-
[["vx","v", "vvvz"]]>;
599596
defm "" : RVVOutBuiltinSet<NAME, "csil",
600597
[["vx","Uv", "UvUvUvz"]]>;
601598
}
@@ -616,11 +613,8 @@ let UnMaskedPolicyScheme = HasPassthruOperand,
616613
IntrinsicTypes = {ResultType, Ops.back()->getType()};
617614
}] in {
618615
multiclass RVVSlideDownBuiltinSet {
619-
defm "" : RVVOutBuiltinSet<NAME, "csilfd",
616+
defm "" : RVVOutBuiltinSet<NAME, "csilxfd",
620617
[["vx","v", "vvz"]]>;
621-
let RequiredFeatures = ["zvfhmin"] in
622-
defm "" : RVVOutBuiltinSet<NAME, "x",
623-
[["vx","v", "vvz"]]>;
624618
defm "" : RVVOutBuiltinSet<NAME, "csil",
625619
[["vx","Uv", "UvUvz"]]>;
626620
}

0 commit comments

Comments
 (0)