[PATCH] D57493: [RISCV] Put data smaller than integer type to small data section

Ana Pazos via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 1 16:48:40 PST 2019


apazos added inline comments.
Herald added a project: LLVM.


================
Comment at: lib/Target/RISCV/RISCVTargetObjectFile.cpp:39
+      SSThreshold = 8;
+  }
+}
----------------
It seems we force a default value (4 or 8) even when the threshold flag is off (value is 0)?
So how to disable the optimization?


Repository:
  rL LLVM

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

https://reviews.llvm.org/D57493





More information about the llvm-commits mailing list