mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-27 14:24:40 +00:00
Refactor code into a new method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19635 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -567,8 +567,7 @@ SDOperand SelectionDAG::getNode(unsigned Opcode, MVT::ValueType VT,
|
||||
assert(VT == N1.getValueType() &&
|
||||
"Shift operators return type must be the same as their first arg");
|
||||
assert(MVT::isInteger(VT) && MVT::isInteger(N2.getValueType()) &&
|
||||
"Shifts only work on integers");
|
||||
assert(VT >= MVT::i8 && "Shift amount cannot be a MVT::i1");
|
||||
VT != MVT::i1 && "Shifts only work on integers");
|
||||
break;
|
||||
default: break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user