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)
commite7b3d5dcb47b6f5d432686778d00878c76303600
tree18e890bf1b6b559eb2a2e34cd88b1b6bd191eab6
parent71dddd51d928945d5ceb7e84322f2fe8244054d2
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.

llvm-svn: 209663
clang/lib/CodeGen/CGExpr.cpp
clang/test/CodeGen/pr19841.cpp [new file with mode: 0644]