[llvm-bugs] [Bug 24546] New: PowerPC backend hits "Inconsistency: def of vector reg not found in swap map!" assertion in PPCVSXSwapRemoval.cpp:613

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Aug 22 06:02:02 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=24546

            Bug ID: 24546
           Summary: PowerPC backend hits "Inconsistency: def of vector reg
                    not found in swap map!" assertion in
                    PPCVSXSwapRemoval.cpp:613
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: PowerPC
          Assignee: unassignedbugs at nondot.org
          Reporter: anton at samba.org
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 14763
  --> https://llvm.org/bugs/attachment.cgi?id=14763&action=edit
reduced testcase

# llc bugpoint-reduced-simplified.bc

llc: /home/anton/llvm/lib/Target/PowerPC/PPCVSXSwapRemoval.cpp:613: void
{anonymous}::PPCVSXSwapRemoval::formWebs(): Assertion `SwapMap.find(DefMI) !=
SwapMap.end() && "Inconsistency: def of vector reg not found in swap map!"'
failed.
0  llc       0x000000001191fa20 llvm::sys::PrintStackTrace(llvm::raw_ostream&)
+ 144
1  llc       0x0000000011920b80
2  llc       0x000000001191e3fc llvm::sys::RunSignalHandlers() + 124
3  llc       0x000000001191e6e4
4            0x00003fffb3890478 __kernel_sigtramp_rt64 + 0
5  libc.so.6 0x00003fffb338ef94 gsignal + 116
6  libc.so.6 0x00003fffb339189c abort + 748
7  libc.so.6 0x00003fffb3384964
8  libc.so.6 0x00003fffb3384a54 __assert_fail + 100
9  llc       0x0000000010b31a60
10 llc       0x0000000010b36d5c
11 llc       0x0000000011134368
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 280
12 llc       0x000000001186b4a8
llvm::FPPassManager::runOnFunction(llvm::Function&) + 760
13 llc       0x000000001186be2c
llvm::legacy::PassManagerImpl::run(llvm::Module&) + 844
14 llc       0x000000001186c1fc llvm::legacy::PassManager::run(llvm::Module&) +
28
15 llc       0x000000001032a0b8
16 llc       0x00000000102ed238 main + 584
17 libc.so.6 0x00003fffb3373500
18 libc.so.6 0x00003fffb3373734 __libc_start_main + 180
Stack dump:
0.    Program arguments: /home/anton/llvm.install/bin/llc
bugpoint-reduced-simplified.bc 
1.    Running pass 'Function Pass Manager' on module
'bugpoint-reduced-simplified.bc'.
2.    Running pass 'PowerPC VSX Swap Removal' on function '@_php_math_round'

-- 
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/20150822/399f1eca/attachment-0001.html>


More information about the llvm-bugs mailing list