[PATCH] D57497: [RISCV] Passing small data limitation value to RISCV backend

Shiva Chen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 5 23:33:29 PST 2019


shiva0217 updated this revision to Diff 185491.
shiva0217 added a comment.

1. Remove passing path for LTO because Eli raised the concern that whether it would appropriate to assign the same limitation for all files when LTO enabled.
2. Add -msmall-data-limitation= as James pointed out it's the main setting flag for RISCV GCC


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D57497/new/

https://reviews.llvm.org/D57497

Files:
  docs/ClangCommandLineReference.rst
  include/clang/Driver/Options.td
  lib/Driver/ToolChains/Clang.cpp
  lib/Driver/ToolChains/RISCVToolchain.cpp
  lib/Driver/ToolChains/RISCVToolchain.h
  test/Driver/riscv-features.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57497.185491.patch
Type: text/x-patch
Size: 5704 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190206/c78475fe/attachment-0001.bin>


More information about the cfe-commits mailing list