Jonas Paulsson
Jonas Paulsson
[New unreduced test case](https://user-images.githubusercontent.com/55128014/143753269-34d7f2d8-c24b-4c0c-83fe-1b40c00fb2e3.gz) bin/clang -O3 -march=z13 crash5.i -o a.out -w -mllvm -disable-machine-dce -mllvm -disable-cgp -mllvm -enable-simple-loop-unswitch -mllvm -disable-basicaa
Tried to fix this, but it turns out that empty blocks with either no predecessors or successors are the only empty blocks left, which seems to be difficult / unnecessary...
assigned to @JonPsson
I reran this test case after re-commiting the bug fix for IfConversion. The live-in lists are indeed more reasonable (thanks to Matthias' fix on https://reviews.llvm.org/D22027), and the particular error we...
I have reopened the Phabricator revision for this patch. Go there for a first analysis of the provided test case. http://reviews.llvm.org/D20907
I beleive there is not an issue any more at least for the moment with shuffles on SystemZ :-)
I am curious as to why it could ever be better to have two shufflevector instructions instead of just one (provided that there is no other use of the intermediate...
[unreduced test case (but small loop body)](https://user-images.githubusercontent.com/55128014/143754510-abd124bb-1fe1-4454-827a-d7ab1a18e665.gz) The two shuffles live in vector.body bin/opt -O3 -S ./shuffles_tc.ll -o out.opt.ll -mcpu=z13
It seems that it is quite beneficial for SystemZ (and other targets?) to optimize ShuffelVectorInstrs more than what is currently done. I think this probably should be done under control...