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

Thorsten via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 23 10:45:54 PDT 2023


tschuett added inline comments.


================
Comment at: llvm/lib/Target/ARM/ARMSubtarget.cpp:194
+      NoMovt = false;
+    assert(hasV6MOps() && "Cannot generate execute-only code for this target");
   }
----------------
What happens in release mode? At the top you now claim that ARMV6M is supported. Could hasV6MOps() silently return false?


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