Pass the dag into LowerOperation
authorChris Lattner <sabre@nondot.org>
Sat, 14 May 2005 05:51:05 +0000 (05:51 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 14 May 2005 05:51:05 +0000 (05:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22005 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Target/TargetLowering.h

index 4112db3b645ba70a30346712a02a57b3a0eb8b65..99fd0bac8c827b37ba76b4851515939e2d0274a3 100644 (file)
@@ -299,7 +299,7 @@ public:
   /// which are registered to use 'custom' lowering.  This callback is invoked.
   /// If the target has no operations that require custom lowering, it need not
   /// implement this.  The default implementation of this aborts.
-  virtual SDOperand LowerOperation(SDOperand Op);
+  virtual SDOperand LowerOperation(SDOperand Op, SelectionDAG &DAG);
 
 
 private: