HomePhabricator

[RISCV] Passing small data limitation value to RISCV backend

Authored by shiva0217 on Mar 9 2020, 7:23 PM.

Description

[RISCV] Passing small data limitation value to RISCV backend

Passing small data limit to RISCVELFTargetObjectFile by module flag,
So the backend can set small data section threshold by the value.
The data will be put into the small data section if the data smaller than
the threshold.

Differential Revision: https://reviews.llvm.org/D57497