[LLVMdev] Can I get the binary address of a for-loop statement?
Alexander Potapenko
ramosian.glider at gmail.com
Thu May 12 03:14:08 PDT 2011
> Another thing that might work would be to insert inline assembly
> statements that define symbols before and after the loop. The LLVM
> optimizations shouldn't move loop code around these inline assembly
> statements (if the statements are labeled as modifying memory in a
> volatile manner), but optimizations between the inline assembly
> statements should remain unfettered.
By the way, is it possible to insert additional labels using the
inline assembly statements?
I understand this may degrade the optimization quality, but it could
be done at the last optimization stage.
Alexander Potapenko
More information about the llvm-dev
mailing list