[llvm] PPC: Custom lower ppcf128 is_fpclass if is_fpclass is custom (PR #105540)
Serge Pavlov via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 28 02:09:24 PDT 2024
================
@@ -11479,6 +11480,12 @@ SDValue PPCTargetLowering::LowerIS_FPCLASS(SDValue Op,
uint64_t RHSC = Op.getConstantOperandVal(1);
SDLoc Dl(Op);
FPClassTest Category = static_cast<FPClassTest>(RHSC);
+ if (LHS.getValueType() == MVT::ppcf128) {
----------------
spavloff wrote:
Is this code: https://github.com/llvm/llvm-project/blob/902b2a26ab9e1e78dfb66b52fba4512c91472e09/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp#L8678-L8684 is not needed anymore?
https://github.com/llvm/llvm-project/pull/105540
More information about the llvm-commits
mailing list