[llvm-bugs] [Bug 45541] New: [AArch64] Incorrect result for vector conversion with -O2
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Apr 14 15:44:25 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=45541
Bug ID: 45541
Summary: [AArch64] Incorrect result for vector conversion with
-O2
Product: new-bugs
Version: 10.0
Hardware: Other
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: clang at evan.coeusgroup.com
CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org
Created attachment 23358
--> https://bugs.llvm.org/attachment.cgi?id=23358&action=edit
Test case
The attached test case works on without optimization and on GCC, but fails with
-O2 (`clang-10 -v -target aarch64-linux-gnu -O2 -o mm_cvtepu8_epi16
mm_cvtepu8_epi16.c` to be precise).
I've added a FOO preprocessor macro (see line 27) to switch between making
simde__m128i a typedef to int64x2_t and int32x4_t. Depending on which is used
different functions fail. It shouldn't actually matter since the code uses
__builtin_memcpy to convert to/from simde__m128i_private and simde__m128i.
--
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/20200414/fee98c6e/attachment.html>
More information about the llvm-bugs
mailing list