Bug fix in Combine load store with null pointer

Raoux, Thomas F thomas.f.raoux at intel.com
Sun Dec 28 08:27:07 PST 2014


Hi,

Could someone review and commit the patch attached? This fixes a bug in instruction combine pass. The code assumed null pointer cannot be dereferenced even though it should only be true for address space 0.
The bug is discussed in this thread: http://lists.cs.uiuc.edu/pipermail/llvmdev/2014-December/079802.html

Cheers,
Thomas

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141228/5e844715/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: LoadStoreNullPointer.patch
Type: application/octet-stream
Size: 1349 bytes
Desc: LoadStoreNullPointer.patch
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141228/5e844715/attachment.obj>


More information about the llvm-commits mailing list