[PATCH] D136203: [ARM] Support -mexecute-only with -mlong-calls.

Eli Friedman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 18 14:58:42 PDT 2022


efriedma added inline comments.


================
Comment at: llvm/test/CodeGen/Thumb2/thumb2-execute-only-long-calls.ll:19
+; STATIC-NEXT:  movt    [[REG0]], :upper16:.LCP1_0
+; STATIC-NEXT:  ldr     [[REG1:r[0-9]+]], [[[REG0]]]
+; STATIC-NEXT:  blx     [[REG1]]
----------------
Is there some reason we can't just generate `movw r0, :lower16:bar; movt r0, :upper16:bar`?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D136203



More information about the cfe-commits mailing list