[PATCH] D85767: [AMDGPU] Spill register and offset register cannot be same
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 13 06:06:51 PDT 2020
arsenm added inline comments.
================
Comment at: llvm/test/CodeGen/AMDGPU/frame-pointer-spill.mir:6-45
+frameInfo:
+ isFrameAddressTaken: false
+ isReturnAddressTaken: false
+ hasStackMap: false
+ hasPatchPoint: false
+ stackSize: 0
+ offsetAdjustment: 0
----------------
You don't need most of these fields, probably just the stack related ones in machineFunctionInfo and tracksRegLiveness
================
Comment at: llvm/test/CodeGen/AMDGPU/frame-pointer-spill.mir:46
+ highBitsOf32BitAddress: 0
+stack:
+ - { id: 0, name: '', type: default, offset: 0, size: 16,
----------------
Why do you need so many stack objects? Can you just add one artificial object that's big enough to force the huge frame?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85767/new/
https://reviews.llvm.org/D85767
More information about the llvm-commits
mailing list