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.