https://bugs.llvm.org/show_bug.cgi?id=49193
Bug ID: 49193
Summary: [GVN] Assertion "Cached first special instruction is
wrong!"
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Scalar Optimizations
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Created attachment 24529
--> https://bugs.llvm.org/attachment.cgi?id=24529&action=edit
reduced testcase
clang-12 -cc1 -triple s390x-ibm-linux -S -target-cpu arch13 -O3 -o out.ll
-emit-llvm -x ir tc_crash6_aftercreduce.ll
llvm/lib/Analysis/InstructionPrecedenceTracking.cpp:87: void
llvm::InstructionPrecedenceTracking::validate(const llvm::BasicBlock *) const:
Assertion `It->second == &Insn && "Cached first special instruction is wrong!"'
failed.
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash
backtrace, preprocessed source, and associated run script.
Stack dump:
0. Program arguments: /home/ijonpan/llvm-project/build/bin/clang-12 -cc1
-triple s390x-ibm-linux -S -target-cpu arch13 -O3 -o out.ll -emit-llvm -x ir
tc_crash6_aftercreduce.ll
1. Per-module optimization passes
2. Running pass 'CallGraph Pass Manager' on module
'tc_crash6_aftercreduce.ll'.
3. Running pass 'Global Value Numbering' on function '@k'
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs