[llvm-bugs] [Bug 34967] New: Code generation fails with AESIMC intrinsic
llvm-bugs at lists.llvm.org
Mon Oct 16 11:10:02 PDT 2017
Bug ID: 34967
Summary: Code generation fails with AESIMC intrinsic
Component: LLVM Codegen
Assignee: unassignedclangbugs at nondot.org
Reporter: pavel.kryukov at phystech.edu
CC: llvm-bugs at lists.llvm.org
Created attachment 19290
Bugpoint for Clang 3.8.0
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
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-bugs