OSDN Git Service

AArch64: Fix end iterator dereference
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 2 Aug 2016 07:20:09 +0000 (07:20 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 2 Aug 2016 07:20:09 +0000 (07:20 +0000)
commitc2fcbdb2b39efc7bc87a243372224f74f5e90a8f
tree2647a45f243e43077b0238cf80f1367a13fbde43
parenta99d4e1d68e2fb0b9298c750b1857121813d0c39
AArch64: Fix end iterator dereference

Not all blocks have terminators. I'm not sure how this wasn't
crashing before.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@277427 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64BranchRelaxation.cpp