From: Evan Cheng Date: Wed, 14 Dec 2005 19:40:54 +0000 (+0000) Subject: Fixed extload type profile. The 4th operand is a ValueType node with type X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=2b52426441f5750d49f4b7a71e07ada07941e605;p=oota-llvm.git Fixed extload type profile. The 4th operand is a ValueType node with type OtherVT, it cannot be compare to type of 1st operand which is an integer type. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24713 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/TargetSelectionDAG.td b/lib/Target/TargetSelectionDAG.td index cc39e0ffd43..0a810789157 100644 --- a/lib/Target/TargetSelectionDAG.td +++ b/lib/Target/TargetSelectionDAG.td @@ -151,8 +151,7 @@ def SDTStore : SDTypeProfile<0, 2, [ // store ]>; def SDTIntExtLoad : SDTypeProfile<1, 3, [ // sextload, zextload - SDTCisInt<0>, SDTCisPtrTy<1>, SDTCisVT<2, OtherVT>, SDTCisVT<3, OtherVT>, - SDTCisVTSmallerThanOp<3, 0> + SDTCisInt<0>, SDTCisPtrTy<1>, SDTCisVT<2, OtherVT>, SDTCisVT<3, OtherVT> ]>;