[LLVMdev] GetConstantBuildVectorBits, isConstantSplat

Scott Michel scooter.phd at gmail.com
Tue Feb 3 15:31:22 PST 2009


Is anyone going to develop acute heartburn if I move these two functions as
TargetLowering methods? It seems that they're used frequently enough across
multiple backends and provide common functionality.

I could be convinced that TargetLowering is the wrong place to put these
functions as methods and that they're better off in a separate BUILD_VECTOR
SDValue class.

Comments?


-scooter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090203/a4d53556/attachment.html>


More information about the llvm-dev mailing list