aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/StackProtector.cpp
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2017-02-09 10:11:58 +0000
committerTobias Grosser <tobias@grosser.es>2017-02-09 10:11:58 +0000
commitbe372d5a0439c0b2bbde8f7beafa9102740ec3fb (patch)
tree12437c579d67a2b9394f090097fcf38259c9204c /llvm/lib/CodeGen/StackProtector.cpp
parente0e0e4d4f6d5d7c738ef2747599702b235e7167d (diff)
downloadllvm-be372d5a0439c0b2bbde8f7beafa9102740ec3fb.zip
llvm-be372d5a0439c0b2bbde8f7beafa9102740ec3fb.tar.gz
llvm-be372d5a0439c0b2bbde8f7beafa9102740ec3fb.tar.bz2
[ScopInfo] Expect the OriginalBaseAddr when looking at underlying instructions [NFC]
During SCoP construction we sometimes inspect the underlying IR by looking at the base address of a MemoryAccess. In such cases, we always want the original base address. Make this clear by calling getOriginalBaseAddr(). This is a non-functional change as getBaseAddr maps to getOriginalBaseAddr at the moment. This change removes unnecessary uses of MemoryAddress::getBaseAddr() in preparation for https://reviews.llvm.org/D28518. llvm-svn: 294576
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions