http://llvm.org/bugs/show_bug.cgi?id=10316
Summary: Incorrect function calls in the tutorials for building
the fadd, fmul, and fsub operations
Product: Documentation
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: General docs
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Depends on: 10016,10025
Created an attachment (id=6863)
--> (http://llvm.org/bugs/attachment.cgi?id=6863)
Calls the correct functions to build arithmetic operators
+++ This bug was initially created as a clone of Bug #10025 +++
In the Kaleidoscope tutorials, Codegen.ml specifies that creating the add, sub
and mul operators involves a call to build_add, build_sub, and build_mul.
However, the language being created only has a double type, and therefore the
above functions do not work correctly. There is no useful error message for
this, and therefore it is not possible to tell what is going wrong.
I have created a patch for this, which uses the correct function call in the
tutorial.
--
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