aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/Alpha/AlphaISelDAGToDAG.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2007-06-22 14:59:07 +0000
committerDan Gohman <gohman@apple.com>2007-06-22 14:59:07 +0000
commitea859be53ca13a1547c4675549946b74dc3c6f41 (patch)
tree4d2b626f429ffbcb1c588b666b018327f72c3c90 /lib/Target/Alpha/AlphaISelDAGToDAG.cpp
parenta8c768293966822840199b496a9b020b6b460e8d (diff)
downloadexternal_llvm-ea859be53ca13a1547c4675549946b74dc3c6f41.zip
external_llvm-ea859be53ca13a1547c4675549946b74dc3c6f41.tar.gz
external_llvm-ea859be53ca13a1547c4675549946b74dc3c6f41.tar.bz2
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37704 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Alpha/AlphaISelDAGToDAG.cpp')
-rw-r--r--lib/Target/Alpha/AlphaISelDAGToDAG.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Alpha/AlphaISelDAGToDAG.cpp b/lib/Target/Alpha/AlphaISelDAGToDAG.cpp
index e82e24b..4f7533c 100644
--- a/lib/Target/Alpha/AlphaISelDAGToDAG.cpp
+++ b/lib/Target/Alpha/AlphaISelDAGToDAG.cpp
@@ -90,7 +90,7 @@ namespace {
// 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;