Displaying 5 results from an estimated 5 matches for "instpatnod".
Did you mean:
instpatnode
2009 Jan 16
1
[LLVMdev] Use two ComplexPatterns (possible bug of TableGen?)
Hi Dan,
thank you for applying the patch.
> However, I didn't apply this part:
>
> - if (InstPatNode && InstPatNode->getOperator()->getName() ==
> "set") {
> + if (InstPatNode && !InstPatNode->isLeaf() &&
> + InstPatNode->getOperator()->getName() == "set") {
>
> because I'm unsure what it's for. When i...
2009 Jan 16
0
[LLVMdev] Use two ComplexPatterns (possible bug of TableGen?)
...anks for the patch! I applied the parts of the patch that rename the
CPTmp variables:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090112/072209.html
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090112/072210.html
However, I didn't apply this part:
- if (InstPatNode && InstPatNode->getOperator()->getName() ==
"set") {
+ if (InstPatNode && !InstPatNode->isLeaf() &&
+ InstPatNode->getOperator()->getName() == "set") {
because I'm unsure what it's for. When is a "set" no...
2009 Jan 15
2
[LLVMdev] Use two ComplexPatterns (possible bug of TableGen?)
On Wednesday 14 January 2009 18:59:03 Brandner Florian wrote:
> I have a patch against llvm 2.4 that fixes this issue, but did not have
> the time to post the patch here. I'll do so by tomorrow.
here is the patch, still against llvm 2.4. I had a short look on trunk, but it
seems that there are several conflicts. Maybe a tablgen expert should have a
look at this - I also do not know if
2012 Jun 23
0
[LLVMdev] Complex load patterns and token factors
...-git a/utils/TableGen/DAGISelMatcherGen.cpp b/utils/TableGen/DAGISelMatcherGen.cpp
index 2ac7b87..4acd209 100644
--- a/utils/TableGen/DAGISelMatcherGen.cpp
+++ b/utils/TableGen/DAGISelMatcherGen.cpp
@@ -690,6 +690,12 @@ EmitResultInstructionAsOperand(const TreePatternNode *N,
bool NodeHasChain = InstPatNode &&
InstPatNode->TreeHasProperty(SDNPHasChain, CGP);
+ // Instructions which load and store from memory should have a chain,
+ // regardless of whether they happen to have an internal pattern saying so.
+ if (Pattern.getSrcPattern()->TreeHasProperty(SDNPHas...
2012 Jun 23
2
[LLVMdev] Complex load patterns and token factors
Working on a target I added this pattern:
def : Pat<(v4i64 (load xoaddr:$src)),
(QVFCTIDb (QVLFDXb xoaddr:$src))>;
which represents an actual load followed by a necessary conversion
operation. The problem is that when this matches any TokenFactor that
was attached to the load node gets attached, not to the inner load
instruction, but the outer conversion operation. This is