aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/DemoteRegToStack.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2013-01-08 05:11:57 +0000
committerChandler Carruth <chandlerc@gmail.com>2013-01-08 05:11:57 +0000
commita7c44e6ec6ea2f2ec5754953cccadb0c6a044193 (patch)
tree8660edcf06463da6aeb4a97e754d593d503923f3 /llvm/lib/Transforms/Utils/DemoteRegToStack.cpp
parent3703823b8907a71c216dbd70fc9205ad71fe833d (diff)
downloadllvm-a7c44e6ec6ea2f2ec5754953cccadb0c6a044193.zip
llvm-a7c44e6ec6ea2f2ec5754953cccadb0c6a044193.tar.gz
llvm-a7c44e6ec6ea2f2ec5754953cccadb0c6a044193.tar.bz2
Sink a function that refers to the SelectionDAG into that library in the
one file where it is called as a static function. Nuke the declaration and the definition in lib/CodeGen, along with the include of SelectionDAG.h from this file. There is no dependency edge from lib/CodeGen to lib/CodeGen/SelectionDAG, so it isn't valid for a routine in lib/CodeGen to reference the DAG. There is a dependency from lib/CodeGen/SelectionDAG on lib/CodeGen. This breaks one violation of this layering. llvm-svn: 171842
Diffstat (limited to 'llvm/lib/Transforms/Utils/DemoteRegToStack.cpp')
0 files changed, 0 insertions, 0 deletions