[LLVMbugs] [Bug 8297] New: machine licm crash on atomic cmpswap i64

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Oct 4 15:00:18 PDT 2010


http://llvm.org/bugs/show_bug.cgi?id=8297

           Summary: machine licm crash on atomic cmpswap i64
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: X86
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: nlewycky at google.com
                CC: llvmbugs at cs.uiuc.edu


The attached testcase crashes:

nlewycky at ducttape:~$ llvm/Debug+Asserts/bin/llc c.ll
0  llc             0x00000000013b20ad
1  llc             0x00000000013b1ea0
2  libpthread.so.0 0x00007f26c08a98f0
3  llc             0x00000000009f3e1a llvm::Type::isPointerTy() const + 12
4  llc             0x0000000001306619 llvm::Value::getUnderlyingObject(unsigned
int) + 35
5  llc             0x00000000010221dc llvm::Value::getUnderlyingObject(unsigned
int) const + 32
6  llc             0x000000000117944a
7  llc             0x0000000000e3d851
llvm::AliasAnalysis::pointsToConstantMemory(llvm::Value const*) + 79
8  llc             0x0000000000fa587a
9  llc             0x0000000000fa59c1
10 llc             0x0000000000fa6315
11 llc             0x0000000000fa5368
12 llc             0x0000000000fa45a5

13 llc             0x0000000000f9c409
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 95
14 llc             0x00000000012df461
llvm::FPPassManager::runOnFunction(llvm::Function&) + 407
15 llc             0x00000000012df67e
llvm::FPPassManager::runOnModule(llvm::Module&) + 102
16 llc             0x00000000012df9b1
llvm::MPPassManager::runOnModule(llvm::Module&) + 459
17 llc             0x00000000012dfef1 llvm::PassManagerImpl::run(llvm::Module&)
+ 125
18 llc             0x00000000012e0447 llvm::PassManager::run(llvm::Module&) +
39
19 llc             0x00000000009cd373 main + 2341
20 libc.so.6       0x00007f26bfb83c4d __libc_start_main + 253
21 llc             0x00000000009cc349
Stack dump:
0.      Program arguments: llvm/Debug+Asserts/bin/llc c.ll 
1.      Running pass 'Function Pass Manager' on module 'c.ll'.
2.      Running pass 'Machine Instruction LICM' on function
'@_ZN4base6subtle25NoBarrier_AtomicIncrementEPVxx'
Segmentation fault

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list