Fix crash with an insertvalue that produces an empty object.
authorPeter Collingbourne <peter@pcc.me.uk>
Sat, 20 Sep 2014 00:10:47 +0000 (00:10 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Sat, 20 Sep 2014 00:10:47 +0000 (00:10 +0000)
commit87f7e75e58a8b45312512c34f36b4d842d4d11bf
tree1740e5882fbc60b9c9719d214c8d5ddf2c0b3f33
parent613c7d0b3550b22fb1e01d650e1f471aa3284fca
Fix crash with an insertvalue that produces an empty object.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218171 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
test/CodeGen/Generic/empty-insertvalue.ll [new file with mode: 0644]