This is an archive of the discontinued LLVM Phabricator instance.

[AArch64][ARM][Mips][SystemZ] use getSubtarget<> instead of static_cast<>(getSubtarget())
AbandonedPublic

Authored by Ghost-LZW on May 2 2022, 9:12 PM.

Details

Summary

use MF.getSubtarget<> instead of static_cast<>(MF.getSubtarget())

Diff Detail

Event Timeline

Ghost-LZW created this revision.May 2 2022, 9:12 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 2 2022, 9:12 PM
Ghost-LZW requested review of this revision.May 2 2022, 9:12 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 2 2022, 9:12 PM
Ghost-LZW retitled this revision from use getSubtarget<> instead of static_cast<>(MF.getSubtarget()) to [AArch64][ARM][Hexagon][Mips][SystemZ] use getSubtarget<> instead of static_cast<>(getSubtarget()).May 2 2022, 9:23 PM
Ghost-LZW edited the summary of this revision. (Show Details)
Ghost-LZW updated this revision to Diff 426577.May 2 2022, 9:46 PM

apply clang-format

Ghost-LZW updated this revision to Diff 426578.May 2 2022, 9:55 PM

reset HexagonPatternsHVX.td

Ghost-LZW retitled this revision from [AArch64][ARM][Hexagon][Mips][SystemZ] use getSubtarget<> instead of static_cast<>(getSubtarget()) to [AArch64][ARM][Mips][SystemZ] use getSubtarget<> instead of static_cast<>(getSubtarget()).May 2 2022, 9:56 PM
Ghost-LZW abandoned this revision.May 2 2022, 10:06 PM

not finish