mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
Add a TODO comment.
llvm-svn: 106397
This commit is contained in:
parent
fcb0f1936b
commit
565876f980
@ -1835,6 +1835,8 @@ LSRInstance::reconcileNewOffset(LSRUse &LU, int64_t NewOffset, bool HasBaseReg,
|
||||
NewMaxOffset = NewOffset;
|
||||
}
|
||||
// Check for a mismatched access type, and fall back conservatively as needed.
|
||||
// TODO: Be less conservative when the type is similar and can use the same
|
||||
// addressing modes.
|
||||
if (Kind == LSRUse::Address && AccessTy != LU.AccessTy)
|
||||
NewAccessTy = Type::getVoidTy(AccessTy->getContext());
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user