[PATCH] D35529: [COFF, ARM64] Make +reserve-x18 the default

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 17 23:17:52 PDT 2017


mstorsjo added a comment.

Wouldn't it make more sense to set this by default within LLVM, where it's already enabled by default for darwin?

Currently there's this code there:

  AArch64Subtarget::AArch64Subtarget(const Triple &TT, const std::string &CPU,
                                     const std::string &FS,
                                     const TargetMachine &TM, bool LittleEndian)
      : AArch64GenSubtargetInfo(TT, CPU, FS), ReserveX18(TT.isOSDarwin()),


https://reviews.llvm.org/D35529





More information about the llvm-commits mailing list