[LLVMbugs] [Bug 18745] New: Assertion in InstCombine: "getOperand() out of range!"

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Feb 5 12:15:19 PST 2014


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

            Bug ID: 18745
           Summary: Assertion in InstCombine: "getOperand() out of range!"
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Scalar Optimizations
          Assignee: unassignedbugs at nondot.org
          Reporter: jordan_rose at apple.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Compiling the attached file leads to an assertion failure in InstCombine. This
started somewhere between r200568 and r200645. (Unfortunately large range on
this particular buildbot.)

Assertion failed: (i_nocapture < OperandTraits<PHINode>::operands(this) &&
"getOperand() out of range!"), function getOperand, file
/Volumes/Lore/llvm-public/llvm/include/llvm/IR/Instructions.h, line 2178.

---

clang -cc1 -triple x86_64-apple-macosx10.9.0 -emit-obj -disable-free
-main-file-name bufpage.c -mrelocation-model pic -pic-level 2 -mdisable-fp-elim
-relaxed-aliasing -masm-verbose -munwind-tables -target-cpu core2
-target-linker-version 142 -O2 -Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Wendif-labels -Wformat-security -ferror-limit 19
-fmessage-length 0 -fwrapv -stack-protector 1 -mstackrealign -fblocks
-fobjc-runtime=macosx-10.9.0 -fencode-extended-block-signature
-fdiagnostics-show-option -vectorize-loops -vectorize-slp bufpage-fbec25.i

-- 
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/20140205/767e471f/attachment.html>


More information about the llvm-bugs mailing list