[all-commits] [llvm/llvm-project] 0df714: [ARM][Mips][PowerPC] Remove unnecessary static_cas...
Craig Topper via All-commits
all-commits at lists.llvm.org
Wed Jul 10 10:29:01 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0df714364a731822590b3da54f33ed0d6ddee873
https://github.com/llvm/llvm-project/commit/0df714364a731822590b3da54f33ed0d6ddee873
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-07-10 (Wed, 10 Jul 2024)
Changed paths:
M llvm/lib/Target/ARM/ARMSubtarget.cpp
M llvm/lib/Target/Mips/MipsSubtarget.cpp
M llvm/lib/Target/PowerPC/PPCSubtarget.cpp
Log Message:
-----------
[ARM][Mips][PowerPC] Remove unnecessary static_cast creating GISel InstructionSelector. NFC
Some targets only pass a TargetMachine & to their subtarget constructor
and require a static_cast to their target-specific TargetMachine subclass
to create *InstructionSelector.
These 3 targets already have the correct TargetMachine subclass
reference so no cast is needed.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list