Displaying 2 results from an estimated 2 matches for "tp30046067p30049449".
2010 Oct 25
0
[LLVMdev] Prevent instruction elimination
...; _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
--
View this message in context: http://old.nabble.com/Prevent-instruction-elimination-tp30046067p30049449.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.
2010 Oct 25
4
[LLVMdev] Prevent instruction elimination
Hi John,
> As for instructions, I don't know of an instruction which does nothing,
> won't be removed by optimization, and yet does not inhibit
> optimization. Perhaps a local alloca and a volatile load or store would
> do the trick? Being volatile, the compiler won't remove it (or if it
> does, it's a bug, and you should file a bug report), and since it loads