]> granicus.if.org Git - llvm/commit
AMDGPU: Fix ignoring DisableFramePointerElim in leaf functions
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 20 Jun 2019 17:03:23 +0000 (17:03 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 20 Jun 2019 17:03:23 +0000 (17:03 +0000)
commitad2e27a4af247552eb8411bf42e25a5160b33f1c
tree082fd99b033aa13f282667bfc494101434e2ac2e
parentecb26a7f3f93dbef2c749b70e708d19f691c12aa
AMDGPU: Fix ignoring DisableFramePointerElim in leaf functions

The attribute can specify elimination for leaf or non-leaf, so it
should always be considered. I copied this bug from AArch64, which
probably should also be fixed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@363949 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/SIFrameLowering.cpp
test/CodeGen/AMDGPU/callee-frame-setup.ll