Re: [llvm-commits] [llvm] r46394 - in /llvm/trunk/lib: Target/PowerPC/PPCAsmPrinter.cpp Transforms/Scalar/SimplifyCFG.cpp

2008-01-27 Thread Chris Lattner
+ BuildMI(MBB, MBB.end(), TM.getInstrInfo()-get(PPC::NOP)); + } Is there any reason to actually make a machineinstr here? It seems like it would be possible to just emit nop to the .s file. The JIT doesn't need this. I initially had that, but I thought that it would be better to do

Re: [llvm-commits] [llvm] r46394 - in /llvm/trunk/lib: Target/PowerPC/PPCAsmPrinter.cpp Transforms/Scalar/SimplifyCFG.cpp

2008-01-26 Thread Bill Wendling
On Jan 26, 2008, at 12:21 AM, Chris Lattner wrote: On Jan 25, 2008, at 10:51 PM, Bill Wendling wrote: Author: void Date: Sat Jan 26 00:51:24 2008 New Revision: 46394 URL: http://llvm.org/viewvc/llvm-project?rev=46394view=rev Log: If there are no machine instructions emitted for a

Re: [llvm-commits] [llvm] r46394 - in /llvm/trunk/lib: Target/PowerPC/PPCAsmPrinter.cpp Transforms/Scalar/SimplifyCFG.cpp

2008-01-26 Thread Chris Lattner
On Jan 25, 2008, at 10:51 PM, Bill Wendling wrote: Author: void Date: Sat Jan 26 00:51:24 2008 New Revision: 46394 URL: http://llvm.org/viewvc/llvm-project?rev=46394view=rev Log: If there are no machine instructions emitted for a function, then insert a nop instruction so that we

[llvm-commits] [llvm] r46394 - in /llvm/trunk/lib: Target/PowerPC/PPCAsmPrinter.cpp Transforms/Scalar/SimplifyCFG.cpp

2008-01-25 Thread Bill Wendling
Author: void Date: Sat Jan 26 00:51:24 2008 New Revision: 46394 URL: http://llvm.org/viewvc/llvm-project?rev=46394view=rev Log: If there are no machine instructions emitted for a function, then insert a nop instruction so that we don't have the function's label associated with something that it's