diff options
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 |

