[llvm-commits] [llvm-gcc-4.2] r63023 - /llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp

Devang Patel dpatel at apple.com
Mon Jan 26 23:41:30 PST 2009


On Jan 26, 2009, at 11:35 PM, Eric Christopher wrote:

>
>
> if optimize >= 3 then the right half of that or statement will never  
> be true.

oops.. I meant

	if (optimize >= 3)
		// Do not optimize for size
		PM->add(createLoopUnswitchPass(false));
	else if (optimize_size)
		// Optimize for size if -Os is set.
		PM->add(createLoopUnswitchPass(true));
	



More information about the llvm-commits mailing list