mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-04 06:26:28 +00:00
just like they can opt into getting the root of the pattern being
matched, allow ComplexPatterns to opt into getting the parent node of the operand being matched. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114472 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -254,7 +254,8 @@ public:
|
||||
return 0;
|
||||
}
|
||||
|
||||
virtual bool CheckComplexPattern(SDNode *Root, SDValue N, unsigned PatternNo,
|
||||
virtual bool CheckComplexPattern(SDNode *Root, SDNode *Parent, SDValue N,
|
||||
unsigned PatternNo,
|
||||
SmallVectorImpl<SDValue> &Result) {
|
||||
assert(0 && "Tblgen should generate the implementation of this!");
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user