[llvm] r238642 - [x86] Update the order of instructions after I switched to a bitcast

Chandler Carruth chandlerc at gmail.com
Fri May 29 23:02:38 PDT 2015


Author: chandlerc
Date: Sat May 30 01:02:37 2015
New Revision: 238642

URL: http://llvm.org/viewvc/llvm-project?rev=238642&view=rev
Log:
[x86] Update the order of instructions after I switched to a bitcast
helper that skips creating a cast when it isn't necessary.

It's really somewhat concerning that this was caused by the the presence
of a no-op bitcast, but...

Modified:
    llvm/trunk/test/CodeGen/X86/avx-vperm2x128.ll

Modified: llvm/trunk/test/CodeGen/X86/avx-vperm2x128.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/avx-vperm2x128.ll?rev=238642&r1=238641&r2=238642&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/avx-vperm2x128.ll (original)
+++ llvm/trunk/test/CodeGen/X86/avx-vperm2x128.ll Sat May 30 01:02:37 2015
@@ -147,8 +147,8 @@ define <16 x i16> @E5i(<16 x i16>* %a, <
 ; AVX1-LABEL: E5i:
 ; AVX1:       ## BB#0: ## %entry
 ; AVX1-NEXT:    vmovdqa (%rdi), %ymm0
-; AVX1-NEXT:    vpaddw {{.*}}(%rip), %xmm0, %xmm0
 ; AVX1-NEXT:    vmovaps (%rsi), %ymm1
+; AVX1-NEXT:    vpaddw {{.*}}(%rip), %xmm0, %xmm0
 ; AVX1-NEXT:    vinsertf128 $1, %xmm0, %ymm1, %ymm0
 ; AVX1-NEXT:    retq
 ;





More information about the llvm-commits mailing list