commit | cae0a193e310050b6bb9cc4628b7151997126f60 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Fri Feb 23 19:54:30 2007 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Fri Feb 23 19:54:30 2007 +0000 |
tree | 50d4324f1cad699b8a471f9f6f63000c438b9c29 | |
parent | c8e02e9fbed0dcc4086319791153d5f54196e2bf [diff] |
fix an obscure and tricky bug the inliner can hit sometimes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34531 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/Utils/ValueMapper.cpp b/lib/Transforms/Utils/ValueMapper.cpp index fd68240..bfba94a 100644 --- a/lib/Transforms/Utils/ValueMapper.cpp +++ b/lib/Transforms/Utils/ValueMapper.cpp
@@ -95,7 +95,7 @@ return VM[V] = ConstantVector::get(Values); } } - return VMSlot = C; + return VM[V] = C; } else { assert(0 && "Unknown type of constant!");