mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 23:32:27 +00:00
Fix typo. Should check both values of RangeUse for 0. Patch by Marius Wachtler.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79649 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3c2734c82b
commit
636e258a53
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user