[LLVMdev] Replace constant with variable

Duncan Sands baldrick at free.fr
Mon Jun 18 08:36:36 PDT 2012


Hi Jonas,

> I wondered if there was a standard way in LLVM to replace a constant
> with a variable. The standard replaceAllUsesWith does not work because
> other constants may use the constant-to-be-replaced. I would like to
> recursively replace these by the corresponding expression.

why?

Ciao, Duncan.



More information about the llvm-dev mailing list