diff options
author | Reid Kleckner <rnk@google.com> | 2016-08-19 16:53:18 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2016-08-19 16:53:18 +0000 |
commit | a871d3872ac55cfab62492e2a1fb7b056d204668 (patch) | |
tree | 88342a495dfac403c4a7d04165a189af3f695ca0 /llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp | |
parent | 9d7ac684a9b1ca0bac19f429417736c4d3635129 (diff) | |
download | bcm5719-llvm-a871d3872ac55cfab62492e2a1fb7b056d204668.tar.gz bcm5719-llvm-a871d3872ac55cfab62492e2a1fb7b056d204668.zip |
Fix regression in InstCombine introduced by r278944
The intended transform is:
// Simplify icmp eq (or (ptrtoint P), (ptrtoint Q)), 0
// -> and (icmp eq P, null), (icmp eq Q, null).
P and Q are both pointer types, but may have different types. We need
two calls to getNullValue() to make the icmps.
llvm-svn: 279271
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp')
0 files changed, 0 insertions, 0 deletions