diff options
| author | Sanjay Patel <spatel@rotateright.com> | 2015-09-12 19:47:50 +0000 |
|---|---|---|
| committer | Sanjay Patel <spatel@rotateright.com> | 2015-09-12 19:47:50 +0000 |
| commit | 8b960d22ad4bc724b89e17f9ab0be9e6a468dd53 (patch) | |
| tree | ed34027d6e8f63d358df1f5d658092ffe8a505ce /llvm/test/CodeGen/X86/machine-cp.ll | |
| parent | 49b531a08d13fbb3a2099c7dbb38e212a9735478 (diff) | |
| download | bcm5719-llvm-8b960d22ad4bc724b89e17f9ab0be9e6a468dd53.tar.gz bcm5719-llvm-8b960d22ad4bc724b89e17f9ab0be9e6a468dd53.zip | |
[x86] enable machine combiner reassociations for 128-bit vector logical integer insts (2nd try)
The changes in:
test/CodeGen/X86/machine-cp.ll
are just due to scheduling differences after some logic instructions were reassociated.
llvm-svn: 247516
Diffstat (limited to 'llvm/test/CodeGen/X86/machine-cp.ll')
| -rw-r--r-- | llvm/test/CodeGen/X86/machine-cp.ll | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/llvm/test/CodeGen/X86/machine-cp.ll b/llvm/test/CodeGen/X86/machine-cp.ll index 768b9cab6f6..d3b305b3cb8 100644 --- a/llvm/test/CodeGen/X86/machine-cp.ll +++ b/llvm/test/CodeGen/X86/machine-cp.ll @@ -73,22 +73,18 @@ while.end: ; preds = %while.body, %entry ; Machine propagation used to delete the first copy as the ; first few uses were <undef>. ; CHECK-NEXT: movdqa [[SRC]], [[CPY1:%xmm[0-9]+]] -; CHECK-NEXT: movdqa [[SRC]], [[CPY2:%xmm[0-9]+]] -; CHECK-NEXT: punpckhbw [[SRC]], -; Check that CPY1 is not redefined. -; CHECK-NOT: , [[CPY1]] -; undef use, we do not care. -; CHECK: punpcklwd [[CPY1]], -; Check that CPY1 is not redefined. -; CHECK-NOT: , [[CPY1]] +; CHECK: punpcklbw [[CPY1]], [[CPY1]] +; CHECK-NEXT: punpcklwd [[CPY1]], [[CPY1]] +; CHECK-NEXT: pslld $31, [[CPY1]] +; CHECK: movdqa [[SRC]], [[CPY2:%xmm[0-9]+]] ; CHECK: punpcklbw [[CPY2]], [[CPY2]] ; CHECK-NEXT: punpckhwd [[CPY2]], [[CPY2]] ; CHECK-NEXT: pslld $31, [[CPY2]] +; CHECK: punpckhbw [[SRC]], ; Check that CPY1 is not redefined. ; CHECK-NOT: , [[CPY1]] -; CHECK: punpcklbw [[CPY1]], [[CPY1]] -; CHECK-NEXT: punpcklwd [[CPY1]], [[CPY1]] -; CHECK-NEXT: pslld $31, [[CPY1]] +; undef use, we do not care. +; CHECK: punpcklwd [[CPY1]], define <16 x float> @foo(<16 x float> %x) { bb: %v3 = icmp slt <16 x i32> undef, zeroinitializer |

