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

             Bug #: 11319
           Summary: ARM instruction selection failure when
                    -promote-elements=true and -mattr=+neon
           Product: new-bugs
           Version: trunk
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


Created attachment 7582
  --> http://llvm.org/bugs/attachment.cgi?id=7582
The test cases to reproduce the bug.

When we enable ARM NEON (-mattr=+neon) during the code generation, llc will
return either instruction selection failure or assertion failure on APInt bit
width in some circumstance (see the attached test cases).

After further inspection, we found that only if both of the following flags are
enabled will the bug occur:

(a) -mattr=+neon : This flag enables the code generation for ARM NEON
instruction.

(b) -promote-elements=true : This flag enables some vector type to vector type
promotion during the legalization process.  This flag has been enabled by
default since revision 142152.


PROCEDURE TO REPRODUCE:

1. Fetch and build the LLVM.

2. Download the attached test case, extract the files, and place them in
<llvm>/test/CodeGen/ARM

3. Run "make check".  The expected behavior is that no additional unexpected
test failure is discovered.  But there will be 6 additional test failures after
adding the attached test cases.

-- 
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to