Re: [llvm-commits] [llvm] r46387 - in /llvm/trunk: lib/Transforms/Scalar/SimplifyCFG.cpp test/CFrontend/2008-01-25-EmptyFunction.c

2008-01-25 Thread Bill Wendling
Okay. On Jan 25, 2008, at 7:26 PM, Chris Lattner wrote: > On Jan 25, 2008, at 5:43 PM, Bill Wendling wrote: >> URL: http://llvm.org/viewvc/llvm-project?rev=46387&view=rev >> Log: >> If we have a function like this: >> >> This is bad on some platforms (like PPC) because it will generate >> the lab

Re: [llvm-commits] [llvm] r46387 - in /llvm/trunk: lib/Transforms/Scalar/SimplifyCFG.cpp test/CFrontend/2008-01-25-EmptyFunction.c

2008-01-25 Thread Chris Lattner
On Jan 25, 2008, at 5:43 PM, Bill Wendling wrote: > URL: http://llvm.org/viewvc/llvm-project?rev=46387&view=rev > Log: > If we have a function like this: > > This is bad on some platforms (like PPC) because it will generate > the label for > the function but no body. The label could end up being

[llvm-commits] [llvm] r46387 - in /llvm/trunk: lib/Transforms/Scalar/SimplifyCFG.cpp test/CFrontend/2008-01-25-EmptyFunction.c

2008-01-25 Thread Bill Wendling
Author: void Date: Fri Jan 25 19:43:44 2008 New Revision: 46387 URL: http://llvm.org/viewvc/llvm-project?rev=46387&view=rev Log: If we have a function like this: void bork() { int *address = 0; *address = 0; } It's compiled into LLVM code that looks like this: define void @bork() noreturn n