mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-24 13:18:17 +00:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user