OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c2734c
)
Fix typo. Should check both values of RangeUse for 0. Patch by Marius Wachtler.
author
Bill Wendling
<isanbard@gmail.com>
Fri, 21 Aug 2009 18:16:06 +0000
(18:16 +0000)
committer
Bill Wendling
<isanbard@gmail.com>
Fri, 21 Aug 2009 18:16:06 +0000
(18:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79649
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
b/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
index
1ba63c0
..
b11ab0e
100644
(file)
--- a/
lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
+++ b/
lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
@@
-2522,7
+2522,7
@@
void SelectionDAGLowering::visitShuffleVector(User &I) {
}
}
- if (RangeUse[0] == 0 && RangeUse[
0
] == 0) {
+ if (RangeUse[0] == 0 && RangeUse[
1
] == 0) {
setValue(&I, DAG.getUNDEF(VT)); // Vectors are not used.
return;
}