commit | dbc9cebcd362f06ebaab62b20ab1cb8efa897f27 | [log] [tgz] |
---|---|---|
author | Stefan Pintilie <stefanp@ca.ibm.com> | Wed Dec 20 19:07:44 2017 +0000 |
committer | Stefan Pintilie <stefanp@ca.ibm.com> | Wed Dec 20 19:07:44 2017 +0000 |
tree | 2604984751887ea1e921e936181023465041fa8b | |
parent | 3c80c06a63e5ba08109680e6b4b836859c7bb769 [diff] |
[PowerPC] Added an assert to make sure that the MBBI iterator is valid. The function createTailCallBranchInstr assumes that the iterator MBBI is valid. However, only one use of MBBI is guarded in the function. Fix this by adding an assert. Differential Revision: https://reviews.llvm.org/D41358 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@321205 91177308-0d34-0410-b5e6-96231b3b80d8