[llvm-commits] [llvm] r133133 - in /llvm/trunk/test/CodeGen/X86: promote-i16.ll zext-fold.ll

Nick Lewycky nlewycky at google.com
Thu Jun 16 14:05:49 PDT 2011


On 15 June 2011 19:01, Jakob Stoklund Olesen <stoklund at 2pi.dk> wrote:

>
> On Jun 15, 2011, at 6:35 PM, Nick Lewycky wrote:
>
> +; CHECK: movzbl 16(%esp), %eax
> +; CHECK-NEXT: movl %eax, 4(%esp)
> +; CHECK-NEXT: andl $224, %eax
> +; CHECK-NEXT: movl %eax, (%esp)
> +; CHECK-NEXT: call{{.*}}use
>
>
> Must this function use %eax to be correct? It seems that any volatile
> register is fine.
>

Any 32-bit register, yeah.

Please use FileCheck variables if that is the case. See abi-isel.ll for
> abundant examples.
>

Done!

Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110616/435f82c6/attachment.html>


More information about the llvm-commits mailing list