[llvm-bugs] [Bug 27177] inlining and constant propagation to intrinsics

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Apr 1 06:52:55 PDT 2016


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

Sanjay Patel <spatel+llvm at rotateright.com> changed:

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

--- Comment #1 from Sanjay Patel <spatel+llvm at rotateright.com> ---
Which version of clang are you using?

Based on:
http://gcc.godbolt.org/
...this won't compile since clang 3.0.

And I think that's the correct behavior (see also my comment in bug 21713).
When using the SSE intrinsics, a "const" parameter value should be a
literal/immediate (not sure what the proper terminology is for C/C++).

Feel free to reopen if you disagree.

-- 
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/20160401/ce49b447/attachment.html>


More information about the llvm-bugs mailing list