[PATCH] D150490: Enable frame pointer for all non-leaf functions on riscv64 Android

Craig Topper via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 12 16:45:02 PDT 2023


craig.topper added inline comments.


================
Comment at: clang/lib/Driver/ToolChains/Clang.cpp:530
+                   Triple.isAArch64() || Triple.isPS() || Triple.isVE() ||
+                   (Triple.isAndroid() && (Triple.getArch() == llvm::Triple::riscv64)));
   if (NoOmitFP || mustUseNonLeafFramePointerForTarget(Triple) ||
----------------
You can use Triple.isRISCV64()


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D150490/new/

https://reviews.llvm.org/D150490



More information about the cfe-commits mailing list