Displaying 1 result from an estimated 1 matches for "tp30046067p30055122".
2010 Oct 25
1
[LLVMdev] Prevent instruction elimination
Hi Alexandra,
> The empty inline asm crossed my mind as well, but LLVM handles inline
> assemblies as calls. This would lead to a dependence if it is inside of a
> loop, right? And this means a considerable impact on the optimizers.
> Is it possible to avoid it?
if a statement has no side-effects then the optimizers will remove it.
Thus you are obliged to have a statement with