[LLVMbugs] [Bug 17099] New: MergeFunctions emits Bitcast from pointer to integer.
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Sep 4 07:01:34 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=17099
Bug ID: 17099
Summary: MergeFunctions emits Bitcast from pointer to integer.
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Transformation Utilities
Assignee: unassignedbugs at nondot.org
Reporter: stpworld at narod.ru
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
MergeFunctions emits Bitcast from pointer to integer.
But it should be ptr-to-int and int-to-ptr commands. That causes crash for next
case under x86-64 arch:
target datalayout =
"e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"
define void @f0(i64 %p0) {
entry:
ret void
}
define void @f1(i64* %p0) {
entry:
ret void
}
--
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/20130904/3b47cbae/attachment.html>
More information about the llvm-bugs
mailing list