[llvm-bugs] [Bug 36169] New: AggressiveInstCombine crash
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Jan 31 06:36:28 PST 2018
https://bugs.llvm.org/show_bug.cgi?id=36169
Bug ID: 36169
Summary: AggressiveInstCombine crash
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Scalar Optimizations
Assignee: unassignedbugs at nondot.org
Reporter: paulsson at linux.vnet.ibm.com
CC: llvm-bugs at lists.llvm.org
Created attachment 19782
--> https://bugs.llvm.org/attachment.cgi?id=19782&action=edit
reduced testcase
bin/opt -mtriple=s390x-linux-gnu -mcpu=z13 tc_aggr_instcomb.ll -o out.ll
-inline -early-cse-memssa -simplifycfg -aggressive-instcombine -S
#0 0x0000000002d318a8 llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(bin/opt+0x2d318a8)
#1 0x0000000002d2f846 llvm::sys::RunSignalHandlers() (bin/opt+0x2d2f846)
#2 0x0000000002d2f9b8 SignalHandler(int) (bin/opt+0x2d2f9b8)
#3 0x000000000554dcee
#4 0x00000000027bdaf0 llvm::Type::getScalarSizeInBits() const
(bin/opt+0x27bdaf0)
#5 0x00000000020a436c llvm::TruncInstCombine::getBestTruncatedType()
(bin/opt+0x20a436c)
#6 0x00000000020a44d0 llvm::TruncInstCombine::run(llvm::Function&)
(bin/opt+0x20a44d0)
#7 0x000000000209eb7e (anonymous
namespace)::AggressiveInstCombinerLegacyPass::runOnFunction(llvm::Function&)
(bin/opt+0x209eb7e)
#8 0x000000000277bede llvm::FPPassManager::runOnFunction(llvm::Function&)
(bin/opt+0x277bede)
#9 0x000000000210f8b4 (anonymous
namespace)::CGPassManager::runOnModule(llvm::Module&) (bin/opt+0x210f8b4)
#10 0x000000000277ccee llvm::legacy::PassManagerImpl::run(llvm::Module&)
(bin/opt+0x277ccee)
#11 0x00000000013190ba main (bin/opt+0x13190ba)
#12 0x000003fffd72306a __libc_start_main (/lib64/libc.so.6+0x2306a)
#13 0x0000000001381a9e _start (bin/opt+0x1381a9e)
Stack dump:
0. Program arguments: bin/opt -mtriple=s390x-linux-gnu -mcpu=z13
tc_aggr_instcomb.ll -o out.ll -inline -early-cse-memssa -simplifycfg
-aggressive-instcombine -S
1. Running pass 'CallGraph Pass Manager' on module 'tc_aggr_instcomb.ll'.
2. Running pass 'Combine pattern based expressions' on function '@3'
Segmentation fault (core dumped)
--
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/20180131/748dd5f1/attachment-0001.html>
More information about the llvm-bugs
mailing list