[llvm-bugs] [Bug 49193] New: [GVN] Assertion "Cached first special instruction is wrong!"

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Feb 15 09:30:57 PST 2021


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: unassignedbugs at nondot.org
          Reporter: paulsson at linux.vnet.ibm.com
                CC: llvm-bugs at lists.llvm.org

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210215/deefbb57/attachment-0001.html>


More information about the llvm-bugs mailing list