Re: [llvm-commits] [llvm] r46827 - MemOperands #2/2

2008-02-12 Thread Evan Cheng
On Feb 12, 2008, at 10:38 AM, Dan Gohman wrote: On Feb 12, 2008, at 12:12 AM, Evan Cheng wrote: + +// Save loads/stores matched by a pattern. +if (!N-isLeaf() N-getName().empty()) { + std::string EnumName = N-getOperator()- getValueAsString(Opcode); + if (EnumName ==

Re: [llvm-commits] [llvm] r46827 - MemOperands #2/2

2008-02-12 Thread Dan Gohman
On Feb 12, 2008, at 12:12 AM, Evan Cheng wrote: + +// Save loads/stores matched by a pattern. +if (!N-isLeaf() N-getName().empty()) { + std::string EnumName = N-getOperator()- getValueAsString(Opcode); + if (EnumName == ISD::LOAD || + EnumName == ISD::STORE) {

Re: [llvm-commits] [llvm] r46827 - MemOperands #2/2

2008-02-10 Thread Chris Lattner
On Feb 6, 2008, at 2:27 PM, Dan Gohman wrote: URL: http://llvm.org/viewvc/llvm-project?rev=46827view=rev Log: Re-apply the memory operand changes, with a fix for the static initializer problem, a minor tweak to the way the DAGISelEmitter finds load/store nodes, and a renaming of the new