[llvm] r296676 - LIU::Query: Remove unused getter; NFC

Matthias Braun via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 1 13:02:56 PST 2017


Author: matze
Date: Wed Mar  1 15:02:56 2017
New Revision: 296676

URL: http://llvm.org/viewvc/llvm-project?rev=296676&view=rev
Log:
LIU::Query: Remove unused getter; NFC

Modified:
    llvm/trunk/include/llvm/CodeGen/LiveIntervalUnion.h

Modified: llvm/trunk/include/llvm/CodeGen/LiveIntervalUnion.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/LiveIntervalUnion.h?rev=296676&r1=296675&r2=296676&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/LiveIntervalUnion.h (original)
+++ llvm/trunk/include/llvm/CodeGen/LiveIntervalUnion.h Wed Mar  1 15:02:56 2017
@@ -146,11 +146,6 @@ public:
       UserTag = UTag;
     }
 
-    LiveInterval &virtReg() const {
-      assert(VirtReg && "uninitialized");
-      return *VirtReg;
-    }
-
     // Does this live virtual register interfere with the union?
     bool checkInterference() { return collectInterferingVRegs(1); }
 




More information about the llvm-commits mailing list