Fix 2003-06-23-PromotedExprs.llx -- if we are adding two bytes we better
authorBrian Gaeke <gaeke@uiuc.edu>
Mon, 23 Jun 2003 20:00:51 +0000 (20:00 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Mon, 23 Jun 2003 20:00:51 +0000 (20:00 +0000)
commit031a112747a480a4dea1cd5a02de88d42b091225
tree96df917654bb4e93628b686224042dc6925c16f7
parent508a41b45038b2219059a7ec797692b0539bdd59
Fix 2003-06-23-PromotedExprs.llx -- if we are adding two bytes we better
explicitly cast the result to be a byte, or C will gleefully promote it
to int.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6869 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/CBackend/CBackend.cpp
lib/Target/CBackend/Writer.cpp