[LLVMbugs] [Bug 20147] New: [AArch64] Suspect code near ICE on memset call.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jun 27 14:11:17 PDT 2014


            Bug ID: 20147
           Summary: [AArch64] Suspect code near ICE on memset call.
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: AArch64
          Assignee: unassignedbugs at nondot.org
          Reporter: mcrosier at codeaurora.org
                CC: Hao.Liu at arm.com, james.molloy at arm.com,
                    llvmbugs at cs.uiuc.edu, t.p.northover at gmail.com
    Classification: Unclassified

In r211960, I fixed an ICE in getMemsetValue.

The segment of code just below the fix looks suspect as well, but I was unable
to generate a test case in my quick attempt.

Specifically, line 3638 seems to assume the VT of a vector element is either
f32 or f64.

3636     else if (VT.isVector()) {
3637     unsigned NumElts = VT.getVectorNumElements();
3638     MVT EltVT = (VT.getVectorElementType() == MVT::f32) ? MVT::i32 :
3639     return DAG.getNode(ISD::BITCAST, dl, VT,
3640     DAG.getConstant(0, EVT::getVectorVT(*DAG.getContext(),
3641     EltVT, NumElts)));
3642     } else

Hoping someone wouldn't mind taking a look.

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/20140627/90bcb7d8/attachment.html>

More information about the llvm-bugs mailing list