commit | 9f60a34c35490ea8690b4fde1f09c51337def2bd | [log] [tgz] |
---|---|---|
author | Craig Topper <craig.topper@intel.com> | Wed Jun 27 20:58:46 2018 +0000 |
committer | Craig Topper <craig.topper@intel.com> | Wed Jun 27 20:58:46 2018 +0000 |
tree | 32e8380b9d9cdf6a53a6ffb464d6560f14435965 | |
parent | 78e3c70281b3cd0a7c256cd75ca6b820e022130a [diff] |
[X86] In X86DAGToDAGISel::PreprocessISelDAG, make sure we don't access N after we delete it. If we turn X86ISD::AND into ISD::AND, we delete N. But we were continuing onto the next block of code even though N no longer existed. Just happened to notice it. I assume asan didn't notice it because we explicitly unpoison deleted nodes and give them a DELETE_NODE opcode. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@335787 91177308-0d34-0410-b5e6-96231b3b80d8