[PATCH] D149444: [ARM] Allow codegen for Armv6m eXecute-Only (XO) sections

Simon Wallis via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 2 06:48:09 PDT 2023


simonwallis2 added inline comments.


================
Comment at: llvm/lib/Target/ARM/ARMSubtarget.cpp:434
   // range otherwise.
-  return !NoMovt && hasV8MBaselineOps() &&
+  return !NoMovt && hasV6MOps() &&
          (isTargetWindows() || !OptMinSize || genExecuteOnly());
----------------
V6M does not have Movt.
At face value, this line looks wrong and leads to about 30 unit test fails.



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D149444



More information about the cfe-commits mailing list