diff options
| author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2018-01-11 16:57:58 +0000 |
|---|---|---|
| committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2018-01-11 16:57:58 +0000 |
| commit | 8de035670ec676da68e08167bde74c28440322ec (patch) | |
| tree | 3ed4aa9ffe31a942d5ce37ec6e5472ebb4fbf312 | |
| parent | 90a60501c3e33ae72563e45a8f5638a3d1d61d00 (diff) | |
| download | bcm5719-llvm-8de035670ec676da68e08167bde74c28440322ec.tar.gz bcm5719-llvm-8de035670ec676da68e08167bde74c28440322ec.zip | |
[X86][SSE] Drop old insertps stack folding test
Broken test from old attempt for folding tables - we don't peek through extract_subvector spills at all (which is why it doesn't fold), and we already have foldMemoryOperandCustom to handle insertps immediate correction anyway.
llvm-svn: 322292
| -rw-r--r-- | llvm/test/CodeGen/X86/stack-folding-fp-avx1.ll | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/llvm/test/CodeGen/X86/stack-folding-fp-avx1.ll b/llvm/test/CodeGen/X86/stack-folding-fp-avx1.ll index 481fb952462..6e2c5de158b 100644 --- a/llvm/test/CodeGen/X86/stack-folding-fp-avx1.ll +++ b/llvm/test/CodeGen/X86/stack-folding-fp-avx1.ll @@ -1934,19 +1934,5 @@ define <8 x float> @stack_fold_xorps_ymm(<8 x float> %a0, <8 x float> %a1) { ret <8 x float> %6 } -define <4 x float> @stack_nofold_insertps(<8 x float> %a0, <8 x float> %a1) { -; Cannot fold this without changing the immediate. -; CHECK-LABEL: stack_nofold_insertps -; CHECK: 32-byte Spill -; CHECK: nop -; CHECK: 32-byte Reload -; CHECK: vinsertps $179, {{%xmm., %xmm., %xmm.}} - %1 = tail call <2 x i64> asm sideeffect "nop", "=x,~{xmm2},~{xmm3},~{xmm4},~{xmm5},~{xmm6},~{xmm7},~{xmm8},~{xmm9},~{xmm10},~{xmm11},~{xmm12},~{xmm13},~{xmm14},~{xmm15},~{flags}"() - %v0 = shufflevector <8 x float> %a0, <8 x float> undef, <4 x i32> <i32 0, i32 1, i32 2, i32 3> - %v1 = shufflevector <8 x float> %a1, <8 x float> undef, <4 x i32> <i32 0, i32 1, i32 2, i32 3> - %res = call <4 x float> @llvm.x86.sse41.insertps(<4 x float> %v0, <4 x float> %v1, i8 179) - ret <4 x float> %res -} - attributes #0 = { "unsafe-fp-math"="false" } attributes #1 = { "unsafe-fp-math"="true" } |

