http://llvm.org/bugs/show_bug.cgi?id=2830
Anton Korobeynikov <[EMAIL PROTECTED]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #4 from Anton Korobeynikov <[EMAIL PROTECTED]> 2008-10-05 10:08:14
---
(In reply to comment #1)
> Created an attachment (id=2040)
--> (http://llvm.org/bugs/attachment.cgi?id=2040) [details]
> Patch to fix bug.
>
> One way to fix this bug is to remove that code that generates calls to
> 'Constant::getNullValue', this will allow the correct constant type to be
> generated.
I agree, that having sane constant type is a right way to fix, otherwise we
will need to end with cast<ConstantInt> in bunch of places.
Patch applied as r57110. Thanks!
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs