doe300 / VC4C

Compiler for the VC4CL OpenCL implementation
MIT License
118 stars 37 forks source link

Add optimization option `--fcombine-load-threshold=XXX` #77

Closed nomaddo closed 6 years ago

nomaddo commented 6 years ago

Related #67.

This pullreq add --fcombine-load-threshold to adjust the threshold of CombineLoadingLiterals. The impact of the optimization is huge (which is discussed in #67), users may specify the threshold.

It's better to control it by the compiler, but now there is no good way.

The naming rule is as follows: