[llvm] r199051 - llvm/test/CodeGen/X86/shl_undef.ll: Tweak to satisfy r199050.

NAKAMURA Takumi geek4civic at gmail.com
Sun Jan 12 21:41:20 PST 2014


Sean, I didn't notice \b could be available then, excuse me.

2014/1/13 Sean Silva <silvas at purdue.edu>:
> Wouldn't it be better to use a more precise regex? E.g. `\bshl` or even
> `\sshl`.
>
> -- Sean Silva
>
>
> On Sun, Jan 12, 2014 at 9:41 AM, NAKAMURA Takumi <geek4civic at gmail.com>
> wrote:
>>
>> Author: chapuni
>> Date: Sun Jan 12 08:41:41 2014
>> New Revision: 199051
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=199051&view=rev
>> Log:
>> llvm/test/CodeGen/X86/shl_undef.ll: Tweak to satisfy r199050.
>>
>> Use intel syntax, or "shl" might hit "pushl".
>>
>> Modified:
>>     llvm/trunk/test/CodeGen/X86/shl_undef.ll
>>
>> Modified: llvm/trunk/test/CodeGen/X86/shl_undef.ll
>> URL:
>> http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/shl_undef.ll?rev=199051&r1=199050&r2=199051&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/test/CodeGen/X86/shl_undef.ll (original)
>> +++ llvm/trunk/test/CodeGen/X86/shl_undef.ll Sun Jan 12 08:41:41 2014
>> @@ -1,4 +1,4 @@
>> -; RUN: llc < %s -O1 -mtriple=i386-apple-darwin | FileCheck %s
>> +; RUN: llc < %s -O1 -mtriple=i386-apple-darwin -x86-asm-syntax=intel |
>> FileCheck %s
>>  ;
>>  ; Interesting test case where %tmp1220 = xor i32 %tmp862, %tmp592 and
>>  ; %tmp1676 = xor i32 %tmp1634, %tmp1530 have zero demanded bits after
>> @@ -10,6 +10,8 @@
>>  ; See rdar://9453156 and rdar://9487392.
>>  ;
>>
>> +; Use intel syntax, or "shl" might hit "pushl".
>> +
>>  ; CHECK-NOT: shl
>>  define i32 @foo(i8* %a0, i32* %a2) nounwind {
>>  entry:
>>
>>
>> _______________________________________________
>> llvm-commits mailing list
>> llvm-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
>



More information about the llvm-commits mailing list