Force spill of vector variables


I am a new user of LLVM, I wonder if is there a method to force the register allocator to spill vector variables to the stack. Those variables may belong to one or many basic blocks.

Best Regards,

One way is to set the spill weight for the variable to a very large number.