Prefer MCFixupKind where possible and add getTargetKind() to
convert to unsigned when needed rather than scatterin cast
operators around the place.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D59890
[MC] Minor cleanup to MCFixup::Kind handling. NFC. ClosedPublic Authored by sbc100 on Mar 27 2019, 9:54 AM.
Details Summary Prefer MCFixupKind where possible and add getTargetKind() to
Diff Detail
Event Timelinesbc100 retitled this revision from [MC] Cleanup MCFixup::getKind to [MC] Minor cleanup to MCFixup::Kind handling. NFC..Mar 27 2019, 9:55 AM Herald added subscribers: pzheng, s.egerton, • wuzish, MaskRay. · View Herald TranscriptAug 21 2019, 2:37 PM This revision is now accepted and ready to land.Aug 22 2019, 2:46 PM Closed by commit rG90b6bb75e8cc: [MC] Minor cleanup to MCFixup::Kind handling. NFC. (authored by sbc100). · Explain WhyAug 22 2019, 6:07 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 216752 llvm/include/llvm/MC/MCFixup.h
llvm/lib/Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp
llvm/lib/Target/AArch64/MCTargetDesc/AArch64ELFObjectWriter.cpp
llvm/lib/Target/AArch64/MCTargetDesc/AArch64MachObjectWriter.cpp
llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUAsmBackend.cpp
llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
llvm/lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp
llvm/lib/Target/ARM/MCTargetDesc/ARMMachObjectWriter.cpp
llvm/lib/Target/BPF/MCTargetDesc/BPFELFObjectWriter.cpp
llvm/lib/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp
llvm/lib/Target/Hexagon/MCTargetDesc/HexagonELFObjectWriter.cpp
llvm/lib/Target/MSP430/MCTargetDesc/MSP430ELFObjectWriter.cpp
llvm/lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp
llvm/lib/Target/PowerPC/MCTargetDesc/PPCELFObjectWriter.cpp
llvm/lib/Target/PowerPC/MCTargetDesc/PPCMachObjectWriter.cpp
llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp
llvm/lib/Target/RISCV/MCTargetDesc/RISCVELFObjectWriter.cpp
llvm/lib/Target/Sparc/MCTargetDesc/SparcELFObjectWriter.cpp
llvm/lib/Target/X86/MCTargetDesc/X86ELFObjectWriter.cpp
llvm/lib/Target/X86/MCTargetDesc/X86MachObjectWriter.cpp
|