[LLVMdev] how to eliminate dead infinite loops?

Rafael EspĂ­ndola rafael.espindola at gmail.com
Mon Nov 29 04:21:53 PST 2010


> Do you have a suggestion for how best to enable this optimization for some
> languages and disable it for others?

Function attribute or metadata to let the optimizer know that all
loops in the given function are finite? That should allow mixing IL
files from different languages.

> Ciao,
>
> Duncan.

Cheers,
Rafael



More information about the llvm-dev mailing list