[PATCH] D98081: [AMDGPU] Improve Codegen for build_vector
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 23 12:13:59 PDT 2021
arsenm added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp:2702-2704
+ if (LHS.getValueType() == MVT::f16 && RHS.getValueType() == MVT::f16 &&
+ LHS.getOpcode() == ISD::BITCAST && RHS.getOpcode() == ISD::BITCAST &&
+ LHS.getNumOperands() >= 1 && RHS.getNumOperands() >= 1) {
----------------
We have some stripBitcast and other helpers to simplify this
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D98081/new/
https://reviews.llvm.org/D98081
More information about the llvm-commits
mailing list