[llvm-bugs] [Bug 24335] In i386 mode, some SSE intrinsics lead to "error in backend: Do not know how to split the result of this operator!"

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Oct 15 20:04:36 PDT 2015


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

Eric Christopher <echristo at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Eric Christopher <echristo at gmail.com> ---
Fixed in ToT:

dzur:~/tmp> ~/builds/build-llvm/Debug+Asserts/bin/clang -c foo.c -m32
-march=i486
foo.c:3:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
x3() { x2 = __builtin_ia32_sqrtps(x1); }
^
foo.c:3:40: warning: control reaches end of non-void function [-Wreturn-type]
x3() { x2 = __builtin_ia32_sqrtps(x1); }
                                       ^
foo.c:3:13: error: '__builtin_ia32_sqrtps' needs target feature sse
x3() { x2 = __builtin_ia32_sqrtps(x1); }
            ^
2 warnings and 1 error generated.

-- 
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/20151016/1abca3d5/attachment.html>


More information about the llvm-bugs mailing list