Fix the build.
authorOwen Anderson <resistor@mac.com>
Fri, 22 Jun 2007 16:59:54 +0000 (16:59 +0000)
committerOwen Anderson <resistor@mac.com>
Fri, 22 Jun 2007 16:59:54 +0000 (16:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37705 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMInstrInfo.td

index 742b882153977f74219e063d7a154431cbcc8d22..deeb236cb3b245f09dc31b735734ebe66db2ba91 100644 (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;
 }]>;