]> granicus.if.org Git - clang/commit
Revert small change to EmitDeclRefLValue
authorRenato Golin <renato.golin@linaro.org>
Tue, 27 May 2014 16:46:27 +0000 (16:46 +0000)
committerRenato Golin <renato.golin@linaro.org>
Tue, 27 May 2014 16:46:27 +0000 (16:46 +0000)
commitef94a4b2c4a620d1b712c4c07ee220024b0dc3cf
tree4651a3051e9e709e7a55528c66e86c03342acbfa
parentd9ad71c332449fec52b2c7eb0755f7be50ef7cf6
Revert small change to EmitDeclRefLValue

That small change, although it looked harmless, it made emitting the LValue
on the PHI node without the proper cast. Reverting it fixes PR19841.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@209663 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGExpr.cpp
test/CodeGen/pr19841.cpp [new file with mode: 0644]