[cfe-dev] Kaleidoscope Debug Assertion
echristo at apple.com
Sun Jul 11 19:34:40 PDT 2010
On Jun 14, 2010, at 11:01 PM, OvermindDL1 wrote:
> 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?
Did this finally. It appears that the ocaml example doesn't work? It appears to
just exit on startup for me.
More information about the cfe-dev