[llvm-dev] Removing metadata from LLVM Instruction

Simone Atzeni via llvm-dev
Tue, 29 Sep 2015 22:43:54 -0000

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