[PATCH] D51165: [CodeGen] emit inline asm clobber list warnings for reserved (cont)

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 24 11:25:44 PDT 2018


efriedma added a comment.

FunctionLoweringInfo::set detects inline asm which clobbers "sp", and calls setHasOpaqueSPAdjustment.  And targets can check it to do something special with frame lowering... I guess the intent is to allow inline asm to allocate memory on the stack.  It looks like only the x86 and PPC backends actually do anything with it, though.


Repository:
  rL LLVM

https://reviews.llvm.org/D51165





More information about the llvm-commits mailing list