CodeGen: do not attempt to invalidate virtual registers for zero-sized phis.
authorPeter Collingbourne <peter@pcc.me.uk>
Fri, 19 Dec 2014 20:50:07 +0000 (20:50 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Fri, 19 Dec 2014 20:50:07 +0000 (20:50 +0000)
commit9caa5bdec055fcf09edb00c5d24765400ad1899b
treedeaf714a39e15be513db1120f4c113ebe8cb8ed4
parentbdfe60c79692627390aabeb6da8c82acbacb7653
CodeGen: do not attempt to invalidate virtual registers for zero-sized phis.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224615 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/FunctionLoweringInfo.h
test/CodeGen/Generic/empty-phi.ll [new file with mode: 0644]