[llvm-commits] CVS: llvm/lib/Target/Alpha/AlphaISelDAGToDAG.cpp

Dan Gohman djg at cray.com
Fri Jun 22 07:59:42 PDT 2007



Changes in directory llvm/lib/Target/Alpha:

AlphaISelDAGToDAG.cpp updated: 1.70 -> 1.71
---
Log message:

Move ComputeMaskedBits, MaskedValueIsZero, and ComputeNumSignBits from
TargetLowering to SelectionDAG so that they have more convenient
access to the current DAG, in preparation for the ValueType routines
being changed from standalone functions to members of SelectionDAG for
the pre-legalize vector type changes.


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

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


Index: llvm/lib/Target/Alpha/AlphaISelDAGToDAG.cpp
diff -u llvm/lib/Target/Alpha/AlphaISelDAGToDAG.cpp:1.70 llvm/lib/Target/Alpha/AlphaISelDAGToDAG.cpp:1.71
--- llvm/lib/Target/Alpha/AlphaISelDAGToDAG.cpp:1.70	Tue Jun 19 09:13:56 2007
+++ llvm/lib/Target/Alpha/AlphaISelDAGToDAG.cpp	Fri Jun 22 09:59:07 2007
@@ -90,7 +90,7 @@
       // see if the missing bits (0x1000) are already known zero if not, the zap
       // isn't okay to do, as it won't clear all the required bits.
       if (BitsToCheck &&
-          !getTargetLowering().MaskedValueIsZero(LHS, BitsToCheck))
+          !CurDAG->MaskedValueIsZero(LHS, BitsToCheck))
         return 0;
       
       return Result;






More information about the llvm-commits mailing list