[RISCV] Remove extra assignment of intrinsic ID in ManualCodegen. NFC
authorCraig Topper <craig.topper@sifive.com>
Fri, 11 Jun 2021 03:42:11 +0000 (20:42 -0700)
committerCraig Topper <craig.topper@sifive.com>
Fri, 11 Jun 2021 03:46:34 +0000 (20:46 -0700)
There's already an autogenerated assignment.

Fixes static analyzer warning reported in PR50593.

clang/include/clang/Basic/riscv_vector.td

index 46f1a31..8869299 100644 (file)
@@ -1535,8 +1535,7 @@ defm vrgatherei16 : RVVOutBuiltinSet<"vrgatherei16_vv", "csil",
 let HasMask = false,
     ManualCodegen = [{
       std::rotate(Ops.begin(), Ops.begin() + 1, Ops.begin() + 3);
-      ID = Intrinsic::riscv_vcompress;
-       IntrinsicTypes = {ResultType, Ops[3]->getType()};
+      IntrinsicTypes = {ResultType, Ops[3]->getType()};
     }] in {
   // signed and floating type
   defm vcompress : RVVOutBuiltinSet<"vcompress", "csilfd",