[LLVMbugs] [Bug 15792] New: LLVM ERROR: Cannot select: intrinsic %llvm.x86.sse41.blendvps

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Apr 19 04:17:45 PDT 2013


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

            Bug ID: 15792
           Summary: LLVM ERROR: Cannot select: intrinsic
                    %llvm.x86.sse41.blendvps
           Product: new-bugs
           Version: trunk
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: schnetter at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 10381
  --> http://llvm.org/bugs/attachment.cgi?id=10381&action=edit
preprocessed source code

When I execute the commands:
{{{
clang++-mp-3.3    -Wall -g -std=c++11 -stdlib=libc++ -march=native -O4   -o
CMakeFiles/bench.dir/bench.cc.o -c /Users/eschnett/src/cc/vecmathlib/bench.cc
clang++-mp-3.3 -v    -Wall -g -std=c++11 -stdlib=libc++ -march=native -O4
-Wl,-search_paths_first -Wl,-headerpad_max_install_names  
CMakeFiles/bench.dir/bench.cc.o  -o bench  
}}}

then I receive this error:
{{{
clang version 3.3 (trunk 179575)
Target: x86_64-apple-darwin12.3.0
Thread model: posix
 "/opt/local/libexec/llvm-3.3/bin/ld" -demangle -dynamic -arch x86_64
-macosx_version_min 10.8.0 -o bench -search_paths_first
-headerpad_max_install_names CMakeFiles/bench.dir/bench.cc.o -lc++ -lSystem
/opt/local/libexec/llvm-3.3/bin/../lib/clang/3.3/lib/darwin/libclang_rt.osx.a
LLVM ERROR: Cannot select: intrinsic %llvm.x86.sse41.blendvps
clang: error: linker command failed with exit code 1 (use -v to see invocation)
}}}

Things work fine if I replace -O4 by -O3. My processor does support the
blendvps instruction.

-- 
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/20130419/0b0caee8/attachment.html>


More information about the llvm-bugs mailing list