[PATCH] D101990: [AArch64][SVE] Improve SVE codegen for fixed length BITCAST
David Sherwood via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 6 07:20:20 PDT 2021
david-arm added a comment.
LGTM!
================
Comment at: llvm/lib/Target/AArch64/AArch64ISelLowering.cpp:17705
+
+ Op = convertToScalableVector(DAG, ContainerSrcVT, SrcOp);
+ Op = DAG.getNode(ISD::BITCAST, DL, ContainerDstVT, Op);
----------------
nit: Not sure what others think, but I personally found this a little confusing. I realise you're reusing Op here, but I'd kind of expected something like this:
SrcOp = convertToScalableVector(DAG, ContainerSrcVT, SrcOp);
Op = DAG.getNode(ISD::BITCAST, DL, ContainerDstVT, SrcOp);
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101990/new/
https://reviews.llvm.org/D101990
More information about the llvm-commits
mailing list