mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
Fix the comment for LegalizeOp to more accurately reflect what it does.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@39827 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
744ff41e0e
commit
a346615d11
@ -551,9 +551,10 @@ SDOperand ExpandFCOPYSIGNToBitwiseOps(SDNode *Node, MVT::ValueType NVT,
|
||||
}
|
||||
|
||||
|
||||
/// LegalizeOp - We know that the specified value has a legal type.
|
||||
/// Recursively ensure that the operands have legal types, then return the
|
||||
/// result.
|
||||
/// LegalizeOp - We know that the specified value has a legal type, and
|
||||
/// that its operands are legal. Now ensure that the operation itself
|
||||
/// is legal, recursively ensuring that the operands' operations remain
|
||||
/// legal.
|
||||
SDOperand SelectionDAGLegalize::LegalizeOp(SDOperand Op) {
|
||||
assert(isTypeLegal(Op.getValueType()) &&
|
||||
"Caller should expand or promote operands that are not legal!");
|
||||
|
Loading…
Reference in New Issue
Block a user