[LLVMbugs] [Bug 22458] New: Interpreter chokes on intrinsics with no fallback
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Feb 4 06:33:42 PST 2015
http://llvm.org/bugs/show_bug.cgi?id=22458
Bug ID: 22458
Summary: Interpreter chokes on intrinsics with no fallback
Product: libraries
Version: trunk
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Interpreter
Assignee: unassignedbugs at nondot.org
Reporter: pguyot at kallisys.net
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Interpreter chokes on intrinsics such as llvm.sadd.with.overflow.i32 which are
perfectly legal on many platforms and that MCJIT is happy with.
This is because IntrinsicLowering doesn't implement every intrinsic.
There does not seem to be any workaround except to modify the function to avoid
using these intrinsics in the first place. Which of course creates additional
problems as the function could also be compiled with intrinsics…
While support for all intrinsics is tedious to maintain, a transform of an
intrinsic into an external call or an API to provide a custom IntrinsicLowering
or something similar would be welcome.
If the external call solution is favored, we probably need to fix bug #22457
first (as defining a function called "llvm.sadd.with.overflow.i32" is
difficult).
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150204/087c513e/attachment.html>
More information about the llvm-bugs
mailing list