commit | ca1ef485854d668f794bf389154aa371aa2ed535 | [log] [tgz] |
---|---|---|
author | Stuart Hastings <stuart@apple.com> | Tue May 17 22:13:31 2011 +0000 |
committer | Stuart Hastings <stuart@apple.com> | Tue May 17 22:13:31 2011 +0000 |
tree | ac9f34221b8adf81cfcd29f34c91a0e4b0b772a2 | |
parent | c81c9709ef219809b0d04c55a80a8d18c7194f6a [diff] [blame] |
X86 pmovsx/pmovzx ignore the upper half of their inputs. rdar://problem/6945110 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131493 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp b/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp index 6e727ce..4c9fed3 100644 --- a/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp +++ b/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
@@ -867,7 +867,7 @@ if (Depth == 10) return 0; - // If multiple users are using the root value, procede with + // If multiple users are using the root value, proceed with // simplification conservatively assuming that all elements // are needed. if (!V->hasOneUse()) {