llvm[3]: Compiling SPUISelDAGToDAG.cpp for Debug build In file included from /Volumes/mrs5/net/llvm/llvm/lib/Target/CellSPU/ SPUISelDAGToDAG.cpp:334: /Volumes/mrs5/net/llvm/llvm-build/lib/Target/CellSPU/ SPUGenDAGISel.inc: In member function ‘llvm::SDNode* SPUDAGToDAGISel::Emit_5(const llvm::SDOperand&, unsigned int, unsigned int, llvm::MVT::ValueType, llvm::MVT::ValueType)’: /Volumes/mrs5/net/llvm/llvm-build/lib/Target/CellSPU/SPUGenDAGISel.inc: 948: error: ‘Tmp2’ was not declared in this scope make[3]: *** [/Volumes/mrs5/net/llvm/llvm-build/lib/Target/CellSPU/ Debug/SPUISelDAGToDAG.o] Error 1 make[2]: *** [CellSPU/.makeall] Error 2 make[1]: *** [Target/.makeall] Error 2 make: *** [all] Error 1 ?
On Jan 30, 2008, at 2:10 PM, Mike Stump wrote:> /Volumes/mrs5/net/llvm/llvm-build/lib/Target/CellSPU/ > SPUGenDAGISel.inc: In member function ‘llvm::SDNode* > SPUDAGToDAGISel::Emit_5(const llvm::SDOperand&, unsigned int, unsigned > int, llvm::MVT::ValueType, llvm::MVT::ValueType)’:Merely rming the file makes it work again. Would be nice if the rules were always incremental clean...
Mike Stump wrote:> On Jan 30, 2008, at 2:10 PM, Mike Stump wrote: > >>/Volumes/mrs5/net/llvm/llvm-build/lib/Target/CellSPU/ >>SPUGenDAGISel.inc: In member function ‘llvm::SDNode* >>SPUDAGToDAGISel::Emit_5(const llvm::SDOperand&, unsigned int, unsigned >>int, llvm::MVT::ValueType, llvm::MVT::ValueType)’: > > > Merely rming the file makes it work again. Would be nice if the rules > were always incremental clean...Mike: Actually, there was a tblgen bug fix where tblgen was gratuitously renaming variables when it hadn't actually created a temporary (see bug 1951.) Tmp2 is obviously never created. Not sure why SPUGenDAGISel.inc didn't get rebuilt (it's tblgen-ed). -scooter