[LLVMbugs] [Bug 15975] New: SROA assertion "Element extends past full value" fails

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon May 13 02:14:56 PDT 2013


            Bug ID: 15975
           Summary: SROA assertion "Element extends past full value" fails
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: baldrick at free.fr
                CC: chandlerc at gmail.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 10499
  --> http://llvm.org/bugs/attachment.cgi?id=10499&action=edit
testcase .ll

I only get this with a Debug+Asserts build (not Release+Asserts).

$ opt -sroa -disable-output pr48335-7.ll
opt: /home/duncan/LLVM/llvm/lib/Transforms/Scalar/SROA.cpp:2213: llvm::Value*
extractInteger(const llvm::DataLayout&, {anonymous}::IRBuilderTy&,
llvm::Value*, llvm::IntegerType*, uint64_t, const llvm::Twine&): Assertion
`DL.getTypeStoreSize(Ty) + Offset <= DL.getTypeStoreSize(IntTy) && "Element
extends past full value"' failed.
0  opt             0x00000000017f9dc5 llvm::sys::PrintStackTrace(_IO_FILE*) +
llvm::FPPassManager::runOnFunction(llvm::Function&) + 382
20 opt             0x00000000016f2538
llvm::FPPassManager::runOnModule(llvm::Module&) + 84
21 opt             0x00000000016f285f
llvm::MPPassManager::runOnModule(llvm::Module&) + 505
22 opt             0x00000000016f2e39 llvm::PassManagerImpl::run(llvm::Module&)
+ 249
23 opt             0x00000000016f304b llvm::PassManager::run(llvm::Module&) +
24 opt             0x00000000008d0470 main + 5700
25 libc.so.6       0x00007ffcbdb89ea5 __libc_start_main + 245
26 opt             0x00000000008c2009
Stack dump:
0.    Program arguments: opt -sroa -disable-output pr48335-7.ll 
1.    Running pass 'Function Pass Manager' on module 'pr48335-7.ll'.
2.    Running pass 'SROA' on function '@f4'

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/20130513/fdb55ea3/attachment.html>

More information about the llvm-bugs mailing list