search for: constantarrayblob

Displaying 2 results from an estimated 2 matches for "constantarrayblob".

2017 Sep 10
2
Performance of large llvm::ConstantDataArrays
...ay of bytes, etc) since this keeps the API to the type > simple (the type models an array, so it should have array element members > only), and things that want to get the elements of the array out can have > them returned as ConstantInt’s (or whatever). I’d name this something like > “ConstantArrayBlob”. > What's the relationship between ConstantDataArray and ConstantArray? The former's doxygen says "An array constant whose element type is a simple 1/2/4/8-byte integer or float/double, and whose elements are just simple data values (i.e. ConstantInt/ConstantFP). This Constant n...
2017 Sep 08
5
Performance of large llvm::ConstantDataArrays
I'm running into some pretty bad performance in llc.exe when compiling some large neural networks into code that contains some very large llvm::ConstantDataArrays, some are { size=102,760,448 }. There's a small about of actual code for processing the network, but the assembly is mostly global data. I'm finding that llc.exe memory spikes up around 30 gigabytes and the job takes 20-30