[llvm-bugs] [Bug 34035] New: Unreachable in AArch64LoadStoreOptimizer (Opcode has no post-indexed wise equivalent!)

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Aug 2 11:26:11 PDT 2017


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

            Bug ID: 34035
           Summary: Unreachable in AArch64LoadStoreOptimizer (Opcode has
                    no post-indexed wise equivalent!)
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: AArch64
          Assignee: unassignedbugs at nondot.org
          Reporter: llvm-bugs at justinbogner.com
                CC: llvm-bugs at lists.llvm.org

Given a silly GEP index (of -1), we can hit an unreachable in
AArch64LoadStoreOptimizer. Repros with `llc -o - bug.ll`.

target triple = "arm64-apple-ios"

define void @bug() {
  %xP16x4 = alloca <4 x i16>, align 8
  %__a = alloca <4 x i16>, align 8
  %__b = alloca <4 x i16>, align 8
  %G = getelementptr <4 x i16>, <4 x i16>* %__b, i32 -1
  store <4 x i16> zeroinitializer, <4 x i16>* %G, align 8
  ret void
}

-- 
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/20170802/30813065/attachment.html>


More information about the llvm-bugs mailing list