summaryrefslogtreecommitdiff
path: root/test/Transforms/InstCombine/vec_sext.ll
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2010-12-17 23:09:14 +0000
committerBill Wendling <isanbard@gmail.com>2010-12-17 23:09:14 +0000
commit976ef86689ed065361a748f81c44ca3510af2202 (patch)
treee3b48224b633e85501414eab36f8dd58eddaf951 /test/Transforms/InstCombine/vec_sext.ll
parentd727343a407bd3056f93e96c60eee72725d458c8 (diff)
downloadllvm-976ef86689ed065361a748f81c44ca3510af2202.tar.gz
llvm-976ef86689ed065361a748f81c44ca3510af2202.tar.bz2
llvm-976ef86689ed065361a748f81c44ca3510af2202.tar.xz
During local stack slot allocation, the materializeFrameBaseRegister function
may be called. If the entry block is empty, the insertion point iterator will be the "end()" value. Calling ->getParent() on it (among others) causes problems. Modify materializeFrameBaseRegister to take the machine basic block and insert the frame base register at the beginning of that block. (It's very similar to what the code does all ready. The only difference is that it will always insert at the beginning of the entry block instead of after a previous materialization of the frame base register. I doubt that that matters here.) <rdar://problem/8782198> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122104 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/InstCombine/vec_sext.ll')
0 files changed, 0 insertions, 0 deletions