Fixed extload type profile. The 4th operand is a ValueType node with type
authorEvan Cheng <evan.cheng@apple.com>
Wed, 14 Dec 2005 19:40:54 +0000 (19:40 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Wed, 14 Dec 2005 19:40:54 +0000 (19:40 +0000)
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

lib/Target/TargetSelectionDAG.td

index cc39e0ffd43c9a5bf54d89658eb4de3bd09913c2..0a810789157e9ad7c4c868c1216519265e51dc73 100644 (file)
@@ -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>
 ]>;