MSP430: Avoid using getPointerSize/getPointerTy
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 31 Mar 2022 21:10:35 +0000 (17:10 -0400)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 31 Mar 2022 22:49:22 +0000 (18:49 -0400)
commitf942cde61a96e67ce87326e9332b4ab937044e5d
treef2e941a352b6dc8d9faf1d1c4099739872383958
parent6d481adb35655daa26e286ce89b51a9ccbb360ea
MSP430: Avoid using getPointerSize/getPointerTy

Use the contextually appropriate value instead of relying on the
default address space default parameters. Usually you should be
reusing a pre-existing type.
llvm/lib/Target/MSP430/MSP430ISelDAGToDAG.cpp
llvm/lib/Target/MSP430/MSP430ISelLowering.cpp