[llvm-dev] Removing metadata from LLVM Instruction

Simone Atzeni via llvm-dev llvm-dev at lists.llvm.org
Tue Sep 29 15:43:54 PDT 2015


Hi,

an older thread about removing metadata says to use “setMetadata(Kind, nullptr)” to drop the metadata from the instruction.
I have using this method without success.
When I look at inside the IR code the metadata are still there, any idea why is that?

Thanks.
Best,
Simone


More information about the llvm-dev mailing list