[llvm] r214015 - llvm/test/CodeGen/X86/vector-idiv.ll: Fix for -Asserts.

NAKAMURA Takumi geek4civic at gmail.com
Sat Jul 26 04:20:47 PDT 2014

2014-07-26 14:54 GMT+09:00 Chandler Carruth <chandlerc at google.com>:
> On Fri, Jul 25, 2014 at 10:52 PM, NAKAMURA Takumi <geek4civic at gmail.com>
> wrote:
>> My comment was wrong, since I was in hurry then.
>> The issue was for targeting Windows x64. Reproducible with x86_64-mingw32
>> and x86_64-win32. You can see loads like;
>> movdqa (%rcx),%xmm
> But how does '{{.*}}' not match this?

With x86_64-win32,

        movdqa  (%rcx), %xmm0
        movdqa  __xmm at 55555556555555565555555655555556(%rip), %xmm1

"movdqa {{.*}}, %[[X1:xmm[0-9]+]]" matched to 1st movdqa. It should not be X1.
Then, 2nd CHECK-NEXT would fail.

I should update movdqa to be clarified to load the constant.

More information about the llvm-commits mailing list