[PATCH] D108141: [PowerPC][AIX] Set the HasAlloca flag in the AIX Traceback Table only if R31 is used as a frame pointer

Zarko Todorovski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 16 09:12:28 PDT 2021


ZarkoCA created this revision.
ZarkoCA added reviewers: DiggerLin, sfertile, lkail, hubert.reinterpretcast.
ZarkoCA added projects: LLVM, PowerPC.
Herald added subscribers: shchenz, kbarton, hiraditya, nemanjai.
ZarkoCA requested review of this revision.
Herald added a subscriber: llvm-commits.

After c063946476e083a9a0c5bd397337d1ece4742ec6 <https://reviews.llvm.org/rGc063946476e083a9a0c5bd397337d1ece4742ec6> usage of R31 doesn't necessarily mean
that alloca is used. The `TracebackTable::IsAllocaUsedMask` flag should be set only 
when R31 is used as a frame pointer.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D108141

Files:
  llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
  llvm/test/CodeGen/PowerPC/aix-alloca-r31.ll
  llvm/test/CodeGen/PowerPC/aix-emit-tracebacktable-clobber-register.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108141.366654.patch
Type: text/x-patch
Size: 8486 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210816/d7b45f81/attachment.bin>


More information about the llvm-commits mailing list