[llvm-commits] [llvm] r47862 - /llvm/trunk/lib/CodeGen/MachineInstr.cpp
Chris Lattner
clattner at apple.com
Tue Mar 4 13:22:37 PST 2008
On Mar 3, 2008, at 3:47 PM, Evan Cheng wrote:
> Haven't you heard goto's are evil? :-)
>
> I think goto's can be used tastefully. However, it's definitely not
> the right situation to use it in this case.
I agree, there are some cases when they aren't heinous, but those
places are good indicators when something bigger is wrong. Often the
body of the loop needs to be factored out into a helper function or
something.
-Chris
More information about the llvm-commits
mailing list