[patch] Fix pr14893

Rafael EspĂ­ndola rafael.espindola at gmail.com
Sun Jan 26 19:33:33 PST 2014


The root problem is that we were speculating a load and not dropping
its range metadata. We know it is safe to speculate, but once we do we
cannot say anything about the value we get out of the load.

I noticed that there is not a convenient facility to drop all
non-debug metadata. Is that intentional? From the old discussions, if
I remember correctly, passes should drop metadata they know nothing
about. Is that still the case or have we moved to a model where
metadata is a proper part of the IR and passes have to know about it?

Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr14893.patch
Type: text/x-patch
Size: 1792 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140126/b76ebea8/attachment.bin>


More information about the llvm-commits mailing list