diff options
author | Duncan Sands <baldrick@free.fr> | 2012-10-30 16:03:32 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2012-10-30 16:03:32 +0000 |
commit | 446cf94cdbbc1f8e22452fc46664ac73d810c6a2 (patch) | |
tree | 81ecaa52ec11d25214b1ee28cfafa3543fddc94e /include | |
parent | 92b469971e6125e1aae90c43e0f00a5cb1e88b47 (diff) | |
download | external_llvm-446cf94cdbbc1f8e22452fc46664ac73d810c6a2.zip external_llvm-446cf94cdbbc1f8e22452fc46664ac73d810c6a2.tar.gz external_llvm-446cf94cdbbc1f8e22452fc46664ac73d810c6a2.tar.bz2 |
Fix isEliminableCastPair to work correctly in the presence of pointers
with different sizes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167018 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/InstrTypes.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/llvm/InstrTypes.h b/include/llvm/InstrTypes.h index b661372..74e51ff 100644 --- a/include/llvm/InstrTypes.h +++ b/include/llvm/InstrTypes.h @@ -594,7 +594,9 @@ public: Type *SrcTy, ///< SrcTy of 1st cast Type *MidTy, ///< DstTy of 1st cast & SrcTy of 2nd cast Type *DstTy, ///< DstTy of 2nd cast - Type *IntPtrTy ///< Integer type corresponding to Ptr types, or null + Type *SrcIntPtrTy, ///< Integer type corresponding to Ptr SrcTy, or null + Type *MidIntPtrTy, ///< Integer type corresponding to Ptr MidTy, or null + Type *DstIntPtrTy ///< Integer type corresponding to Ptr DstTy, or null ); /// @brief Return the opcode of this CastInst |