[llvm-bugs] [Bug 34967] New: Code generation fails with AESIMC intrinsic
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Oct 16 11:10:02 PDT 2017
https://bugs.llvm.org/show_bug.cgi?id=34967
Bug ID: 34967
Summary: Code generation fails with AESIMC intrinsic
Product: clang
Version: 5.0
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: LLVM Codegen
Assignee: unassignedclangbugs at nondot.org
Reporter: pavel.kryukov at phystech.edu
CC: llvm-bugs at lists.llvm.org
Created attachment 19290
--> https://bugs.llvm.org/attachment.cgi?id=19290&action=edit
Bugpoint for Clang 3.8.0
Hello
I faced a code generator bug while compiling AES-NI instrinsics. That code is
compiled with GCC and Visual Studio without problems, but different versions of
Clang fail in different environments. I've attached clang-cl test case from
Clang 5.0.0. Unfortunately, I couldn't find a way to run -emit-llvm option with
Clang, so I'm sending bugpoint results for clang 3.8.0.
During my attempts to find a workaround I localized a problem a little with
some dummy code (see below). Finally, I got rid of pointer arithmetic, so
compilation becomes sucseeded.
__m128i tmp = _mm_setzero_si128();
tmp = _mm_aesimc_si128(*(++keysched));
// *(--invkeysched) = tmp; // uncommenting this line leads to failure
Thanks,
--
Pavel
--
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/20171016/06a8b779/attachment-0001.html>
More information about the llvm-bugs
mailing list