[LLVMdev] IRBuilder and "ad hoc" optimizations

Paweł Bylica chfast at gmail.com
Thu Apr 23 01:50:49 PDT 2015


Hi LLVM,

IRBuilder can fold constants (that behaviour can be controlled by Folder
type). What do you think about optionally allow IRBuilder to eliminate
no-op instructions like `add %a, 0` or `memcpy(%a, %b, 0)`?

- Paweł
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150423/4f99a092/attachment.html>


More information about the llvm-dev mailing list