[PATCH] D36665: [AArch64] Remove unused MC function
Phabricator via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 14 02:17:19 PDT 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL310823: [AArch64] Remove unused MC function (authored by sam_parker).
Changed prior to commit:
https://reviews.llvm.org/D36665?vs=110921&id=110925#toc
Repository:
rL LLVM
https://reviews.llvm.org/D36665
Files:
llvm/trunk/lib/Target/AArch64/MCTargetDesc/AArch64MCCodeEmitter.cpp
Index: llvm/trunk/lib/Target/AArch64/MCTargetDesc/AArch64MCCodeEmitter.cpp
===================================================================
--- llvm/trunk/lib/Target/AArch64/MCTargetDesc/AArch64MCCodeEmitter.cpp
+++ llvm/trunk/lib/Target/AArch64/MCTargetDesc/AArch64MCCodeEmitter.cpp
@@ -84,12 +84,6 @@
SmallVectorImpl<MCFixup> &Fixups,
const MCSubtargetInfo &STI) const;
- /// getAuthSImmOpValue - Return encoding for a 10-bit immediate which is
- /// encoded as a sign bit and an 9-bit immediate, separated by a single bit.
- uint32_t getAuthSImmOpValue(const MCInst &MI, unsigned OpIdx,
- SmallVectorImpl<MCFixup> &Fixups,
- const MCSubtargetInfo &STI) const;
-
/// getCondBranchTargetOpValue - Return the encoded value for a conditional
/// branch target.
uint32_t getCondBranchTargetOpValue(const MCInst &MI, unsigned OpIdx,
@@ -288,18 +282,6 @@
return ShiftVal == 0 ? 0 : (1 << ShiftVal);
}
-/// getAuthSImmOpValue - encode a 10-bit scale signed immediate within an 11-bit
-/// field in which bit 10 of that field is not used to encode any information
-/// about the immediate.
-uint32_t
-AArch64MCCodeEmitter::getAuthSImmOpValue(const MCInst &MI, unsigned OpIdx,
- SmallVectorImpl<MCFixup> &Fixups,
- const MCSubtargetInfo &STI) const {
- const MCOperand &MO = MI.getOperand(OpIdx);
- int32_t offset = MO.getImm();
- return (uint32_t)offset;
-}
-
/// getCondBranchTargetOpValue - Return the encoded value for a conditional
/// branch target.
uint32_t AArch64MCCodeEmitter::getCondBranchTargetOpValue(
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36665.110925.patch
Type: text/x-patch
Size: 1739 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170814/95a96127/attachment.bin>
More information about the llvm-commits
mailing list