compnerd added a subscriber: compnerd.

================
Comment at: include/clang/Driver/Options.td:1380
@@ +1379,3 @@
+def mlong_calls : Flag<["-"], "mlong-calls">, Group<m_Group>,
+  HelpText<"ARM: Generate an indirect jump to enable jumps further than 64M, 
Hexagon: Generate constant-extended branches.">;
+def mno_long_calls : Flag<["-"], "mno-long-calls">, Group<m_Group>,
----------------
It seems a bit weird to have target specific descriptions.  AFAIK, the behavior 
is the same on all the targets: it generates branches which have full 
addressability (ARC, ARM, BlackFin, Epiphany, MIPS, PPC all support this 
option, probably amongst other architectures).  This would easily grow 
unwieldily if we try to have target specific descriptions.  We support at least 
ARM, MIPS, PPC, and now Hexagon.  Why not make the description generic, 
something like:

    Generate branches with extended addressability, usually via indirect jumps.


Repository:
  rL LLVM

https://reviews.llvm.org/D22766



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to