[llvm] [Xtensa] Implement lowering Mul/Div/Shift operations. (PR #99981)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 23 04:14:06 PDT 2024
================
@@ -665,12 +693,30 @@ SDValue XtensaTargetLowering::getAddrPCRel(SDValue Op,
SDValue XtensaTargetLowering::LowerConstantPool(ConstantPoolSDNode *CP,
SelectionDAG &DAG) const {
EVT PtrVT = getPointerTy(DAG.getDataLayout());
----------------
arsenm wrote:
Always reuse the type of the value you always have, you should practically never need to call getPointerTy
https://github.com/llvm/llvm-project/pull/99981
More information about the llvm-commits
mailing list