[llvm-bugs] [Bug 35820] New: LLVM 6 fails to compile pocl's shuffle test

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jan 4 04:41:26 PST 2018


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

            Bug ID: 35820
           Summary: LLVM 6 fails to compile pocl's shuffle test
           Product: new-bugs
           Version: 6.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: rakka at runbox.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 19626
  --> https://bugs.llvm.org/attachment.cgi?id=19626&action=edit
simplified test case

I've attached a simplified test case. When trying to compile it with "llc -O2",
LLVM 5's llc is successful but LLVM 6 fails with:


llc: /home/0/LLVM_git/60/lib/Target/X86/X86ISelLowering.cpp:5775: bool
getTargetShuffleMask(llvm::SDNode*, llvm::MVT, bool,
llvm::SmallVectorImpl<llvm::SDValue>&, llvm::SmallVectorImpl<int>&, bool&):
Assertion `N->getOperand(1).getValueType() == VT && "Unexpected value type"'
failed.


Clang+LLVM compiled today (4th Jan 2018) from freshly updated git:

clang version 6.0.0 (http://llvm.org/git/clang.git
db28ee2ff44111ade7c6e1078ef80910978b6b94)

machine: AMD 1700X, gcc 7.2.1

-- 
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/20180104/06daf7f3/attachment-0001.html>


More information about the llvm-bugs mailing list