mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
Move TargetData to DataLayout.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165402 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -563,7 +563,7 @@ public:
|
||||
/// IntPtrTy argument is used to make accurate determinations for casts
|
||||
/// involving Integer and Pointer types. They are no-op casts if the integer
|
||||
/// is the same size as the pointer. However, pointer size varies with
|
||||
/// platform. Generally, the result of TargetData::getIntPtrType() should be
|
||||
/// platform. Generally, the result of DataLayout::getIntPtrType() should be
|
||||
/// passed in. If that's not available, use Type::Int64Ty, which will make
|
||||
/// the isNoopCast call conservative.
|
||||
/// @brief Determine if the described cast is a no-op cast.
|
||||
|
Reference in New Issue
Block a user