diff options
author | Matthew Curtis <mcurtis@codeaurora.org> | 2012-12-07 21:03:15 +0000 |
---|---|---|
committer | Matthew Curtis <mcurtis@codeaurora.org> | 2012-12-07 21:03:15 +0000 |
commit | ade50dc6c7d18ba2e47aab7e535c709de76fe152 (patch) | |
tree | 5818f3fcb468e1a73c315d2b11e637e996edbbf0 /include/llvm/Support/PatternMatch.h | |
parent | 6cd738f33934a93b114d7dd9e4291f87f445c5c4 (diff) |
In hexagon convertToHardwareLoop, don't deref end() iterator
In particular, check if MachineBasicBlock::iterator is end() before
using it to call getDebugLoc();
See also this thread on llvm-commits:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20121112/155914.html
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169634 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/PatternMatch.h')
0 files changed, 0 insertions, 0 deletions