[PATCH] D54143: [WIP, RISCV] Generate address sequences suitable for mcmodel=medium

Roger Ferrer Ibanez via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 21 09:50:23 PST 2018


rogfer01 added a comment.

In my downstream I have a single `RISCVISD::WRAPPER_PIC` and then I use a target flag to remember whether later we want just PCREL (lla) or GOT based on what `shouldAssumeDSOLocal` returns.

But I agree that we can do instead what @jrtc27 suggests and then we can add a `PseudoLA` later (or something that explicitly means "via GOT" because a "la" with `-fno-PIC` is just a `lla`),


Repository:
  rL LLVM

https://reviews.llvm.org/D54143





More information about the llvm-commits mailing list