summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2020-01-14 11:58:54 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2020-01-14 11:58:54 +0000
commit31aed2e0dad25d43039a9b933b1b95fbdeb27704 (patch)
tree5173df06b45ab0091439fa58cda6de756adce58c /llvm/lib/CodeGen
parentc05a11108b9a9deb266c3c1758677462df61e05e (diff)
downloadbcm5719-llvm-31aed2e0dad25d43039a9b933b1b95fbdeb27704.tar.gz
bcm5719-llvm-31aed2e0dad25d43039a9b933b1b95fbdeb27704.zip
Fix "MIParser::getIRValue(unsigned int)’ defined but not used" warning. NFCI.
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/MIRParser/MIParser.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/CodeGen/MIRParser/MIParser.cpp b/llvm/lib/CodeGen/MIRParser/MIParser.cpp
index b72c830d8e2..63ed91d6719 100644
--- a/llvm/lib/CodeGen/MIRParser/MIParser.cpp
+++ b/llvm/lib/CodeGen/MIRParser/MIParser.cpp
@@ -545,8 +545,6 @@ private:
const BasicBlock *getIRBlock(unsigned Slot);
const BasicBlock *getIRBlock(unsigned Slot, const Function &F);
- const Value *getIRValue(unsigned Slot);
-
/// Get or create an MCSymbol for a given name.
MCSymbol *getOrCreateMCSymbol(StringRef Name);
@@ -3139,10 +3137,6 @@ const BasicBlock *MIParser::getIRBlock(unsigned Slot, const Function &F) {
return getIRBlockFromSlot(Slot, CustomSlots2BasicBlocks);
}
-const Value *MIParser::getIRValue(unsigned Slot) {
- return PFS.getIRValue(Slot);
-}
-
MCSymbol *MIParser::getOrCreateMCSymbol(StringRef Name) {
// FIXME: Currently we can't recognize temporary or local symbols and call all
// of the appropriate forms to create them. However, this handles basic cases
OpenPOWER on IntegriCloud