mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-27 14:34:58 +00:00
m_not should match vector not
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37587 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
cef4b53a3e
commit
b0760c80b3
@ -329,8 +329,12 @@ private:
|
||||
bool matchIfNot(Value *LHS, Value *RHS) {
|
||||
if (ConstantInt *CI = dyn_cast<ConstantInt>(RHS))
|
||||
return CI->isAllOnesValue() && L.match(LHS);
|
||||
else if (ConstantInt *CI = dyn_cast<ConstantInt>(LHS))
|
||||
if (ConstantInt *CI = dyn_cast<ConstantInt>(LHS))
|
||||
return CI->isAllOnesValue() && L.match(RHS);
|
||||
if (ConstantVector *CV = dyn_cast<ConstantVector>(RHS))
|
||||
return CV->isAllOnesValue() && L.match(LHS);
|
||||
if (ConstantVector *CV = dyn_cast<ConstantVector>(LHS))
|
||||
return CV->isAllOnesValue() && L.match(RHS);
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user