[llvm-bugs] [Bug 27735] New: PowerPC - shufflevector operation gets lost

via llvm-bugs llvm-bugs at lists.llvm.org
Fri May 13 10:59:11 PDT 2016


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

            Bug ID: 27735
           Summary: PowerPC - shufflevector operation gets lost
           Product: new-bugs
           Version: 3.8
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: eric.schweitz at pgroup.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 16367
  --> https://llvm.org/bugs/attachment.cgi?id=16367&action=edit
reduced.ll

Compiling the attached .ll file with the following commands:

  llc reduced.ll -mcpu=native -O2 -o reduced.s
  as reduced.s -o reduced.o
  gcc -o a.out reduced.o
  ./a.out

gives the output:

  -81.000000 68.000000

The correct answer is:

  -91.000000 58.000000

and is what is produced by the x86 backend.

It appears that the instruction %Z.L.JA291.9 is being erroneously omitted.

-- 
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/20160513/c681ed49/attachment.html>


More information about the llvm-bugs mailing list