Page MenuHomePhabricator

[RISCV][Clang] Add all RVV Mask intrinsic functions.

Authored by khchen on Thu, Apr 8, 8:52 AM.


  1. Redefine vpopc and vfirst IR intrinsic so it could adapt on

clang tablegen generator which always appends a type for vl
in IntrinsicType of clang codegen.

  1. Remove c type transformer and add u and l for unsigned long

and long type.

Authored-by: Roger Ferrer Ibanez <>
Co-Authored-by: Zakk Chen <>

Diff Detail

Event Timeline

khchen created this revision.Thu, Apr 8, 8:52 AM
khchen requested review of this revision.Thu, Apr 8, 8:52 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptThu, Apr 8, 8:52 AM

LGTM other than that inheritance question


Can we use inheritance here?

khchen updated this revision to Diff 336452.Fri, Apr 9, 7:41 AM

address Craig's comment.

This revision is now accepted and ready to land.Fri, Apr 9, 9:38 AM
This revision was landed with ongoing or failed builds.Sun, Apr 11, 7:30 PM
This revision was automatically updated to reflect the committed changes.