diff options
author | Chris Lattner <sabre@nondot.org> | 2004-09-15 02:34:40 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-09-15 02:34:40 +0000 |
commit | bdacd879578943efc98b75639cb8e7b4aab037f9 (patch) | |
tree | a0ba4f159a2f27448c156a570f51dbe2c69b020a /lib/Transforms | |
parent | e0de1d64be1a20c7b617d99e11bacbb0325f5bb6 (diff) | |
download | external_llvm-bdacd879578943efc98b75639cb8e7b4aab037f9.zip external_llvm-bdacd879578943efc98b75639cb8e7b4aab037f9.tar.gz external_llvm-bdacd879578943efc98b75639cb8e7b4aab037f9.tar.bz2 |
Fix a bug in the previous checkin that broke 255.vortex
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16355 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms')
-rw-r--r-- | lib/Transforms/Scalar/LICM.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/LICM.cpp b/lib/Transforms/Scalar/LICM.cpp index 554b5ec..435bb4b 100644 --- a/lib/Transforms/Scalar/LICM.cpp +++ b/lib/Transforms/Scalar/LICM.cpp @@ -643,7 +643,7 @@ void LICM::PromoteValuesInLoop() { LoadValue = LI; break; } else if (StoreInst *SI = dyn_cast<StoreInst>(*UI)) { - if (SI->getOperand(1) == LI) { + if (SI->getOperand(1) == Ptr) { LoadValue = SI->getOperand(0); break; } |