Well, the Constant matching pattern works.  Can't say much about calls or globals yet.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23884 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/Alpha/AlphaISelLowering.h b/lib/Target/Alpha/AlphaISelLowering.h
index 2edad0f..2bcd526 100644
--- a/lib/Target/Alpha/AlphaISelLowering.h
+++ b/lib/Target/Alpha/AlphaISelLowering.h
@@ -59,6 +59,8 @@
 
     void restoreGP(MachineBasicBlock* BB);
     void restoreRA(MachineBasicBlock* BB);
+    unsigned getVRegGP() { return GP; }
+    unsigned getVRegRA() { return RA; }
   };
 }