From bcdd22c501a28c92f250c2e97b7f783d4611f102 Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Wed, 14 Dec 2005 19:40:54 +0000 Subject: [PATCH] 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. llvm-svn: 24713 --- lib/Target/TargetSelectionDAG.td | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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> ]>;