aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/FileOutputBufferTest.cpp
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2014-05-18 03:18:09 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2014-05-18 03:18:09 +0000
commitf11f4b4e2079ef9a3a38b0a79c338f0999e648bb (patch)
treee1ec403aef2035b3cddaf0f7fd51b22007b72a56 /llvm/unittests/Support/FileOutputBufferTest.cpp
parentd2d442ca7385fe5c50f43c2731710ab1ac564ddb (diff)
downloadllvm-f11f4b4e2079ef9a3a38b0a79c338f0999e648bb.zip
llvm-f11f4b4e2079ef9a3a38b0a79c338f0999e648bb.tar.gz
llvm-f11f4b4e2079ef9a3a38b0a79c338f0999e648bb.tar.bz2
ARM: consolidate frame pointer register knowledge
Use the ARMBaseRegisterInfo to query the frame register. The base register info is aware of the frame register that is used for the frame pointer. Use that to determine the frame register rather than duplicating the knowledge. Although, the code path is slightly different in that it may return SP, that can only occur if the frame pointer has been omitted in the machine function, which is supposed to contain the desired value in that case. llvm-svn: 209084
Diffstat (limited to 'llvm/unittests/Support/FileOutputBufferTest.cpp')
0 files changed, 0 insertions, 0 deletions