[llvm-commits] Bug in promoting types in RetCC

Yiannis Tsiouris gtsiour at softlab.ntua.gr
Sun May 20 16:20:24 PDT 2012


Hi,

As discussed in this thread [1, 2], there seems to be a bug in promoting
types in a RetCC. The attached patch fixes this. There is no unit-test
attached because no RetCC uses CCPromoteToType nowadays. I noticed this
trying to write a unit-test for a patch that inserts custom prologue
code for the HiPE compiler (to be submitted for review as soon as the
HiPE CC patch is accepted).

If there is something wrong in the attached patch or the patch in [1],
please let me know! :-)


Best,
Yiannis (as part of the ErLLVM team)

[1]:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20120507/142766.html
[2]:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20120514/142839.html

-- 
Yiannis Tsiouris
Ph.D. student,
Software Engineering Laboratory,
National Technical University of Athens
WWW: http://www.softlab.ntua.gr/~gtsiour

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-promote-in-retcc-bug.patch
Type: text/x-diff
Size: 1108 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120521/1a05133a/attachment.patch>


More information about the llvm-commits mailing list