[PATCH] D45773: [RISCV] Don't fold symbol diff

Edward Jones via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 30 09:16:13 PDT 2018


edward-jones added a comment.

Working on creating a test at the moment, however while trying to create a test I realized this change doesn't actually work when using llc to generate an object file. It seems that when compiling with llc, the RISCV::FeatureRelax bit is never set, so RISCV::requiresDiffExpressionRelocations always returns false. This happens even with "target-features"="+relax" in the function attributes.


Repository:
  rL LLVM

https://reviews.llvm.org/D45773





More information about the llvm-commits mailing list