diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2016-02-21 20:14:29 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2016-02-21 20:14:29 +0000 |
commit | ec6f7fed54cdcc0e2588f912626314c0a58b24d7 (patch) | |
tree | dc28a89bbb70376c2f76b5c66e578a663839f029 /llvm/lib/Transforms/Vectorize/BBVectorize.cpp | |
parent | 820cf20a986f06d7fb1f055ae44748529f896d94 (diff) | |
download | bcm5719-llvm-ec6f7fed54cdcc0e2588f912626314c0a58b24d7.tar.gz bcm5719-llvm-ec6f7fed54cdcc0e2588f912626314c0a58b24d7.zip |
TransformUtils: Avoid getNodePtrUnchecked() in integer division, NFC
Stop relying on `getNodePtrUnchecked()` being useful on invalid
iterators. This function is documented to be for internal use only, and
the pointer type will eventually have to change to remove UB from
ilist_iterator. Instead, check the iterator before it has been
invalidated.
llvm-svn: 261497
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/BBVectorize.cpp')
0 files changed, 0 insertions, 0 deletions