getAllOnesConstant can only take v8i32 instead of v8f32
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Why is this important?
llvm/test/CodeGen/X86/combine-testp-v8f32.ll | ||
---|---|---|
1 | Can you split the test into a seperate patch (i.e test file compiled with llc before this change) so we can see the diff this patch generates? |
since getAllOnesConstant can only take v8i32 instead of v8f32
llvm/test/CodeGen/X86/combine-testp-v8f32.ll | ||
---|---|---|
1 | sorry i can't. it is compfail without this diff. |
llvm/test/CodeGen/X86/combine-testp-v8f32.ll | ||
---|---|---|
9 | I think you need to regenerate this. It failed when I just tested locally. modified llvm/test/CodeGen/X86/combine-testp-v8f32.ll @@ -6,7 +6,6 @@ define void @test(<8 x i32> %ref.tmp.sroa.0.16.vec.expand.i.i.i.i.i.i.i) #0 pers ; AVX: # %bb.0: # %entry ; AVX-NEXT: vxorps %xmm1, %xmm1, %xmm1 ; AVX-NEXT: vcmptrueps %ymm1, %ymm1, %ymm1 -; AVX-NEXT: vxorps %ymm1, %ymm0, %ymm1 ; AVX-NEXT: vtestps %ymm1, %ymm0 ; AVX-NEXT: vzeroupper ; AVX-NEXT: retq |
llvm/test/CodeGen/X86/combine-testp-v8f32.ll | ||
---|---|---|
5 | Simplify the names. |
Nice catch
llvm/test/CodeGen/X86/combine-testp-v8f32.ll | ||
---|---|---|
5 | Please can you put this in combine-testps.ll and an equivalent in combine-testpd.ll - there should be matching tests (and naming convention) with combine-ptest.ll that you can base it off. |
Can you split the test into a seperate patch (i.e test file compiled with llc before this change) so we can see the diff this patch generates?