Fix the build.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37705 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Owen Anderson 2007-06-22 16:59:54 +00:00
parent ea859be53c
commit 0819a9d386

View File

@ -152,7 +152,7 @@ def so_imm_not :
// sext_16_node predicate - True if the SDNode is sign-extended 16 or more bits.
def sext_16_node : PatLeaf<(i32 GPR:$a), [{
return TLI.ComputeNumSignBits(SDOperand(N,0)) >= 17;
return CurDAG->ComputeNumSignBits(SDOperand(N,0)) >= 17;
}]>;