[llvm-commits] [llvm] r162960 - in /llvm/trunk: lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp test/CodeGen/X86/vec_select.ll
NAKAMURA Takumi
geek4civic at gmail.com
Fri Aug 31 03:05:27 PDT 2012
2012/8/31 Pete Cooper <peter_cooper at apple.com>:
> Author: pete
> Date: Thu Aug 30 18:58:52 2012
> New Revision: 162960
>
> URL: http://llvm.org/viewvc/llvm-project?rev=162960&view=rev
> Log:
> Take account of boolean vector contents when promoting a build vector from i1 to some other type. rdar://problem/12210060
>
> Added:
> llvm/trunk/test/CodeGen/X86/vec_select.ll
> Modified:
> llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
> Added: llvm/trunk/test/CodeGen/X86/vec_select.ll
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/vec_select.ll?rev=162960&view=auto
> ==============================================================================
> --- llvm/trunk/test/CodeGen/X86/vec_select.ll (added)
> +++ llvm/trunk/test/CodeGen/X86/vec_select.ll Thu Aug 30 18:58:52 2012
> @@ -0,0 +1,16 @@
> +; RUN: llc < %s -march=x86 | FileCheck %s
It fails at -sse2, for example non-x86 host. Fixed in r162983.
Should it be tested with both +avx and -avx,+sse2?
...Takumi
More information about the llvm-commits
mailing list