commit | c7b3444095f9aa5398d134c780e327a187cda231 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Mon Apr 27 02:00:55 2009 +0000 |
committer | Dan Gohman <gohman@apple.com> | Mon Apr 27 02:00:55 2009 +0000 |
tree | 4a1567e3145693dd2b1e2b880daf266b8f7b4231 | |
parent | d6c329532bed7a60f760b3a009b3582c624bc270 [diff] |
When transforming sext(trunc(load(x))) into sext(smaller load(x)), the trunc is directly replaced with the smaller load, so don't try to create a new sext node. This fixes PR4050. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70179 91177308-0d34-0410-b5e6-96231b3b80d8