Tablegen & vector constants

The backend I’m working on supports vector constants and the code to currently implement them is done in scalars and this is very inefficient when vector operations involving immediates occur. Are there any examples of writing tablegen code that works with vector immediate?

Thanks,

Micah