[PATCH] D119252: [AArch64][SVE] Fix selection failure during lowering of shuffle_vector

Paul Walker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 8 08:50:56 PST 2022


paulwalker-arm added inline comments.


================
Comment at: llvm/test/CodeGen/AArch64/sve-shuffle-crash.ll:1
+; RUN: llc < %s
+
----------------
david-arm wrote:
> bsmith wrote:
> > david-arm wrote:
> > > Hi @bsmith, there don't seem to be any CHECK lines here. Could you add some please using the llvm/utils/update_llc_test_checks.py script?
> > I intentionally didn't put any in here, the resulting codegen is large and uninteresting in this case, the failure mode is a crash which will be caught regardless.
> > 
> > I can put some in though if you think it would be valuable?
> Hmm, I do realise the CHECK lines probably look awful, but maybe it's still worth it? I imagine if the code quality is really that terrible, we'll probably want to improve that at some point and at least we'll be defending it. If we improve codegen in future we'll see reduced CHECK lines here.
@david-arm Given the test relies on `<32 x i32>` when the target vector length is 256-bit, I'm not sure we'll ever care about the code quality.  If work is done to specifically improve it I would expect there to be a more focused test. Not saying your request is wrong, just something to consider.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D119252/new/

https://reviews.llvm.org/D119252



More information about the llvm-commits mailing list