[LLVMdev] [cfe-dev] conditional operator
Jochen Wilhelmy
j.wilhelmy at arcor.de
Tue Jul 20 09:59:17 PDT 2010
> The reason for this is that C requires that only the value which is needed
> is evaluated. If one of the selected values has a side effect, this becomes significant.
>
Ah, I see. But in my case I have only normal variables (local or
global), no volatile and no functions.
Therefore I wonder why the optimizer misses it in some cases (with globals).
-Jochen
More information about the llvm-dev
mailing list