[LLVMbugs] [Bug 20852] New: slp-vectorize-aggressive causing "Invalid Operands for Select"

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Sep 4 21:00:21 PDT 2014


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

            Bug ID: 20852
           Summary: slp-vectorize-aggressive causing "Invalid Operands for
                    Select"
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Loop Optimizer
          Assignee: unassignedbugs at nondot.org
          Reporter: ryan.osial at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

While compiling Firefox 32, found that -fslp-vectorize-aggressive caused an
error:

ryan at osnap-linux ~/projects/nobackup/llvm/git/llvm/build $
./Debug+Asserts/bin/clang++ /tmp/TiledContentClient.cpp  -c
-fslp-vectorize-aggressive -pipe -march=native  -fno-exceptions
-fno-strict-aliasing -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x
-pthread -pipe   -O2

../../dist/include/jspubtd.h:512:51: warning: offset of on non-standard-layout
type 'js::PerThreadDataFriendFields::RuntimeDummy' [-Winvalid-offsetof]
    static const size_t RuntimeMainThreadOffset =
__builtin_offsetof(RuntimeDummy, mainThread);

Invalid operands for select instruction!
  %.retval.sroa.6.12.vec.insert.i75 = select <2 x i1> %or.cond.i74, <4 x float>
zeroinitializer, <4 x float> %sub.i62

fatal error: error in backend: Broken function found, compilation aborted!
clang: error: clang frontend command failed with exit code 70 (use -v to see
invocation)

clang version 3.6.0 (http://llvm.org/git/clang.git
77f909b268d79378221b4163112596afe177d177) (http://llvm.org/git/llvm.git
b20b9bf9fd60ba1d769e33ff6680099473d59a7d)
Target: x86_64-unknown-linux-gnu
Thread model: posix

-- 
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/20140905/ea9953b1/attachment.html>


More information about the llvm-bugs mailing list