[llvm-commits] [pr12979][patch/rfc] Clear nsw/nuw in gvn

Rafael EspĂ­ndola rafael.espindola at gmail.com
Tue May 29 13:19:50 PDT 2012


> The patch is incomplete since I am not sure what is the best thing to
> do about the metadata.

I have implemented the following

* Keep the most generic tbaa, i.e., the one closest to the root.
* Keep the most generic fpmath, i.e., the one with the smallest value.
* Keep the dbg and prof of the value we are replacing.
* Drop metadata we know nothing about.

Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t.patch
Type: application/octet-stream
Size: 8035 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120529/a667749d/attachment.obj>


More information about the llvm-commits mailing list