https://bugs.llvm.org/show_bug.cgi?id=38502
Bug ID: 38502
Summary: Infinite recursion in float2int
Product: new-bugs
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedb...@nondot.org
Reporter: bevin.hans...@ericsson.com
CC: llvm-bugs@lists.llvm.org
Created attachment 20665
--> https://bugs.llvm.org/attachment.cgi?id=20665&action=edit
llvm ir reproducer
The following reproducer causes float2int to infinitely recurse in `convert`,
likely due to an unreachable block.
opt -float2int -o /dev/null x.ll
...
#251 0x0000000002dce068 llvm::Float2IntPass::convert(llvm::Instruction*,
llvm::Type*) /home/ebevhan/work/llvm/lib/Transforms/Scalar/Float2Int.cpp:428:0
#252 0x0000000002dce068 llvm::Float2IntPass::convert(llvm::Instruction*,
llvm::Type*) /home/ebevhan/work/llvm/lib/Transforms/Scalar/Float2Int.cpp:428:0
#253 0x0000000002dce068 llvm::Float2IntPass::convert(llvm::Instruction*,
llvm::Type*) /home/ebevhan/work/llvm/lib/Transforms/Scalar/Float2Int.cpp:428:0
#254 0x0000000002dce068 llvm::Float2IntPass::convert(llvm::Instruction*,
llvm::Type*) /home/ebevhan/work/llvm/lib/Transforms/Scalar/Float2Int.cpp:428:0
#255 0x0000000002dce068 llvm::Float2IntPass::convert(llvm::Instruction*,
llvm::Type*) /home/ebevhan/work/llvm/lib/Transforms/Scalar/Float2Int.cpp:428:0
Segmentation fault (core dumped)
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs