[cfe-dev] Kaleidoscope Debug Assertion

OvermindDL1 overminddl1 at gmail.com
Mon Jun 14 23:01:16 PDT 2010


On Mon, Jun 14, 2010 at 12:03 AM, Eric Christopher <echristo at apple.com> wrote:
>
>>
>> I believe the issue is that an integer add/sub/mult/div IR instruction is being emitted when an fadd/fsub/fmul should be.  I have attached a patch which fixes the assertion.
>
> Thanks!  Committed in:
>
> [issola:~/sources/llvm] echristo% svn ci examples
> Sending        examples/Kaleidoscope/Chapter4/toy.cpp
> Sending        examples/Kaleidoscope/Chapter5/toy.cpp
> Sending        examples/Kaleidoscope/Chapter6/toy.cpp
> Sending        examples/Kaleidoscope/Chapter7/toy.cpp
> Transmitting file data ....
> Committed revision 105932.

Might want to check to Ocaml version of Kaleidoscope too, to be on the
safe side, documentation as well?



More information about the cfe-dev mailing list