[PATCH] Prevent MDNode's RAUW from introducing a reference to a void Value.
Frederic Riss
friss at apple.com
Wed Oct 22 10:50:30 PDT 2014
New try to fix this issue with a different stategy: add an assert to enforce
that ValueHandleBase::ValueIsRAUWd isn't called with a new value that hasn't
the same type as the old one. Fix InstCombine to not violate the invariant.
How does that look?
http://reviews.llvm.org/D5828
Files:
lib/IR/Value.cpp
lib/Transforms/InstCombine/InstCombineCalls.cpp
test/DebugInfo/voidMDNode.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5828.15261.patch
Type: text/x-patch
Size: 5511 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141022/d1e3ffd8/attachment.bin>
More information about the llvm-commits
mailing list