summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
diff options
context:
space:
mode:
authorAhmed Bougacha <ahmed.bougacha@gmail.com>2017-05-10 00:39:25 +0000
committerAhmed Bougacha <ahmed.bougacha@gmail.com>2017-05-10 00:39:25 +0000
commit8c358e301691e3bca486cf26a624b184080bee7f (patch)
tree399ff0308143199cf11f246f0319c291d13626fc /llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
parent00d68222783a1592f3bf9d55b9a1f8f7b8e42733 (diff)
downloadbcm5719-llvm-8c358e301691e3bca486cf26a624b184080bee7f.tar.gz
bcm5719-llvm-8c358e301691e3bca486cf26a624b184080bee7f.zip
[CodeGen] Compute DT/LI lazily in SafeStackLegacyPass. NFC.
We currently require SCEV, which requires DT/LI. Those are expensive to compute, but the pass only runs for functions that have the safestack attribute. Compute DT/LI to build SCEV lazily, only when the pass is actually going to transform the function. Differential Revision: https://reviews.llvm.org/D31302 llvm-svn: 302610
Diffstat (limited to 'llvm/lib/CodeGen/TwoAddressInstructionPass.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud