search for: scheduledagsdnodesemit

Displaying 5 results from an estimated 5 matches for "scheduledagsdnodesemit".

2009 Mar 12
2
[LLVMdev] Suggestion: include object data in assertion messages
...ver, assertion messages are static strings, and don't include any information about the particular object/value which caused the assertion. In a 'data oriented' system like llvm, this makes it really difficult to pinpoint which node is actually triggering the assertion. For example, in ScheduleDAGSDNodesEmit.cpp (lib/CodeGen/SelectionDAG/), in the ScheduleDAGSDNodes::AddOperand method, there is the following assert: assert(Op.getValueType() !=MVT::Other && Op.getValueType() != MVT::Flag && "Chain and flag operands should occur at end of operand list!"); In order to understan...
2009 Mar 12
0
[LLVMdev] Suggestion: include object data in assertion messages
...are static strings, and don't include any > information about the particular object/value which caused the > assertion. In a 'data oriented' system like llvm, this makes it really > difficult to pinpoint which node is actually triggering the assertion. > > For example, in ScheduleDAGSDNodesEmit.cpp > (lib/CodeGen/SelectionDAG/), in the ScheduleDAGSDNodes::AddOperand > method, there is the following assert: The typical idiom we use for this are things like: Value::~Value() { #ifndef NDEBUG // Only in -g mode... // Check to make sure that there are no uses of this value that...
2009 Mar 13
1
[LLVMdev] Suggestion: include object data in assertion messages
...and don't include any >> information about the particular object/value which caused the >> assertion. In a 'data oriented' system like llvm, this makes it really >> difficult to pinpoint which node is actually triggering the assertion. >> >> For example, in ScheduleDAGSDNodesEmit.cpp >> (lib/CodeGen/SelectionDAG/), in the ScheduleDAGSDNodes::AddOperand >> method, there is the following assert: > > The typical idiom we use for this are things like: > > Value::~Value() { > #ifndef NDEBUG      // Only in -g mode... >   // Check to make sure that t...
2009 Jul 06
1
[LLVMdev] Help on DAG pattern matching string
Hello, Everyone > TargetSelectoinDAG.td and then why the two versions are "identical" in > TableGen's mind. That's correct. The patterns are identical since the types of operands involved are the same. DAG pattern matching is done before regalloc, there are not regclasses actually at that point, thus both patterns tries to select the same thing... -- With best regards,
2009 Mar 15
5
[LLVMdev] Overlapping register classes
Hi, I am writing a backend for the Blackfin processor from Analog Devices. I just started so I still have a lot to learn about the code generator. So far, I can compile test/CodeGen/Generic/BasicInstrs.ll correctly, but that is about it. The Blackfin 32-bit registers divide naturally into several classes. I have modelled these register classes without knowing anything about what the code