mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-31 09:25:42 +00:00
There are no longer any places that require a
MERGE_VALUES node with only one operand, so get rid of special code that only existed to handle that possibility. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60349 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -486,19 +486,7 @@ public:
|
||||
bool ReadMem = true, bool WriteMem = true);
|
||||
|
||||
/// getMergeValues - Create a MERGE_VALUES node from the given operands.
|
||||
/// Allowed to return something different (and simpler) if Simplify is true.
|
||||
SDValue getMergeValues(const SDValue *Ops, unsigned NumOps,
|
||||
bool Simplify = true);
|
||||
|
||||
/// getMergeValues - Create a MERGE_VALUES node from the given types and ops.
|
||||
/// Allowed to return something different (and simpler) if Simplify is true.
|
||||
/// May be faster than the above version if VTs is known and NumOps is large.
|
||||
SDValue getMergeValues(SDVTList VTs, const SDValue *Ops, unsigned NumOps,
|
||||
bool Simplify = true) {
|
||||
if (Simplify && NumOps == 1)
|
||||
return Ops[0];
|
||||
return getNode(ISD::MERGE_VALUES, VTs, Ops, NumOps);
|
||||
}
|
||||
SDValue getMergeValues(const SDValue *Ops, unsigned NumOps);
|
||||
|
||||
/// getCall - Create a CALL node from the given information.
|
||||
///
|
||||
|
Reference in New Issue
Block a user