[PATCH] D77542: [PowerPC] Treat 'Z' inline asm constraint as a true memory constraint

Amy Kwan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Apr 11 13:52:10 PDT 2020


amyk added inline comments.


================
Comment at: clang/lib/Basic/Targets/PPC.h:277
       break;
     case 'Q': // Memory operand that is an offset from a register (it is
               // usually better to use `m' or `es' in asm statements)
----------------
Just curious, but does this case still require `Info.setAllowsMemory();` as well?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D77542





More information about the cfe-commits mailing list