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
This commit is contained in:
Evan Cheng 2005-12-14 19:40:54 +00:00
parent d4771840fd
commit 2b52426441

View 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>
]>;