[TII] Remove the MFI argument to convertToThreeAddress. NFC.
authorJay Foad <jay.foad@amd.com>
Wed, 22 Sep 2021 09:24:56 +0000 (10:24 +0100)
committerJay Foad <jay.foad@amd.com>
Thu, 23 Sep 2021 07:58:46 +0000 (08:58 +0100)
commit6cef28ed2df19c197790ca777423fc1c2572c138
treecbd938978d22ee6415ab75ffbe5ebf4c7830f48f
parentc3ae8ecb520e6565594272d12e447e295ce09c9b
[TII] Remove the MFI argument to convertToThreeAddress. NFC.

This simplifies the API and addresses a FIXME in
TwoAddressInstructionPass::convertInstTo3Addr.

Differential Revision: https://reviews.llvm.org/D110229
14 files changed:
llvm/include/llvm/CodeGen/TargetInstrInfo.h
llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
llvm/lib/Target/AMDGPU/SIFoldOperands.cpp
llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
llvm/lib/Target/AMDGPU/SIInstrInfo.h
llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
llvm/lib/Target/ARM/ARMBaseInstrInfo.h
llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
llvm/lib/Target/RISCV/RISCVInstrInfo.h
llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp
llvm/lib/Target/SystemZ/SystemZInstrInfo.h
llvm/lib/Target/X86/X86FixupLEAs.cpp
llvm/lib/Target/X86/X86InstrInfo.cpp
llvm/lib/Target/X86/X86InstrInfo.h