[PATCH] D57493: [RISCV] Put data smaller than eight bytes to small data section

Ana Pazos via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 28 17:01:44 PDT 2019


apazos added inline comments.


================
Comment at: lib/Target/RISCV/RISCVTargetObjectFile.cpp:17
 
+static unsigned SSThreshold = 8;
+
----------------
efriedma wrote:
> This isn't thread-safe.
We can put it in RISCVELFTargetObjectFile just like SmallDataSection and SmallBSSSection



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