summaryrefslogtreecommitdiff
path: root/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-05-28 16:19:17 +0000
committerDan Gohman <gohman@apple.com>2010-05-28 16:19:17 +0000
commitdd9344f3face8f1978a7f9f393c31b628144d1f6 (patch)
tree2af3aa062792112ee7c2e9793bf8a6db7b25ee42 /lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
parent700012231d58cd3f1bab21cb0e003d98253045a4 (diff)
downloadllvm-dd9344f3face8f1978a7f9f393c31b628144d1f6.tar.gz
llvm-dd9344f3face8f1978a7f9f393c31b628144d1f6.tar.bz2
llvm-dd9344f3face8f1978a7f9f393c31b628144d1f6.tar.xz
Move FindAvailableLoadedValue isSafeToLoadUnconditionally out of
lib/Transforms/Utils and into lib/Analysis so that Analysis passes can use them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104949 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp')
-rw-r--r--lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp b/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
index fd3d534702..c533d6e5e5 100644
--- a/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
+++ b/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
@@ -13,6 +13,7 @@
#include "InstCombine.h"
#include "llvm/IntrinsicInst.h"
+#include "llvm/Analysis/Loads.h"
#include "llvm/Target/TargetData.h"
#include "llvm/Transforms/Utils/BasicBlockUtils.h"
#include "llvm/Transforms/Utils/Local.h"