[llvm-commits] CVS: llvm/lib/Target/X86/X86ISelDAGToDAG.cpp

Evan Cheng evan.cheng at apple.com
Sat Aug 26 01:00:24 PDT 2006



Changes in directory llvm/lib/Target/X86:

X86ISelDAGToDAG.cpp updated: 1.95 -> 1.96
---
Log message:

SelectNodeTo now returns a SDNode*.

---
Diffs of the changes:  (+1 -1)

 X86ISelDAGToDAG.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
diff -u llvm/lib/Target/X86/X86ISelDAGToDAG.cpp:1.95 llvm/lib/Target/X86/X86ISelDAGToDAG.cpp:1.96
--- llvm/lib/Target/X86/X86ISelDAGToDAG.cpp:1.95	Sat Aug 26 00:34:46 2006
+++ llvm/lib/Target/X86/X86ISelDAGToDAG.cpp	Sat Aug 26 03:00:10 2006
@@ -658,7 +658,7 @@
         }
 
         if (C.Val)
-          return CurDAG->SelectNodeTo(N.Val, X86::MOV32ri, MVT::i32, C).Val;
+          return CurDAG->SelectNodeTo(N.Val, X86::MOV32ri, MVT::i32, C);
       }
 
       // Other cases are handled by auto-generated code.






More information about the llvm-commits mailing list