search for: tp30046067p30048639

Displaying 3 results from an estimated 3 matches for "tp30046067p30048639".

2010 Oct 25
0
[LLVMdev] Prevent instruction elimination
On 10/25/10 4:13 AM, Xinfinity wrote: > Hello, > > Does there exist something like a "dummy" instruction that is not removed by > the optimizers, even if it seems to be dead code? > I want to use such instructions to carry metadata information, but they > should have a minimal impact on the code generation and optimization. I used > an add instruction: You may want
2010 Oct 25
2
[LLVMdev] Prevent instruction elimination
...itely affect the optimization step. I also thought about inserting an inline assembly that only contains a comment and carries metadata info. But this is also a call, so it influences the optimizers. Alexandra -- View this message in context: http://old.nabble.com/Prevent-instruction-elimination-tp30046067p30048639.html Sent from the LLVM - Dev mailing list archive at Nabble.com.
2010 Oct 25
4
[LLVMdev] Prevent instruction elimination
Hello, Does there exist something like a "dummy" instruction that is not removed by the optimizers, even if it seems to be dead code? I want to use such instructions to carry metadata information, but they should have a minimal impact on the code generation and optimization. I used an add instruction: %0 = add i8 1, 2, !pragma_instrument_mem_add !0 ; <i8> [#uses=0] which