mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-07 12:28:24 +00:00
Fix a comment (bytes -> bits), reformat a comment
and remove trailing whitespace. No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63511 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1317,13 +1317,13 @@ void SROA::ConvertUsesToScalar(Value *Ptr, AllocaInst *NewAI, uint64_t Offset) {
|
||||
}
|
||||
}
|
||||
|
||||
/// ConvertUsesOfLoadToScalar - Convert all of the users the specified load to
|
||||
/// use the new alloca directly, returning the value that should replace the
|
||||
/// load. This happens when we are converting an "integer union" to a
|
||||
/// single integer scalar, or when we are converting a "vector union" to a
|
||||
/// vector with insert/extractelement instructions.
|
||||
/// ConvertUsesOfLoadToScalar - Convert all of the users of the specified load
|
||||
/// to use the new alloca directly, returning the value that should replace the
|
||||
/// load. This happens when we are converting an "integer union" to a single
|
||||
/// integer scalar, or when we are converting a "vector union" to a vector with
|
||||
/// insert/extractelement instructions.
|
||||
///
|
||||
/// Offset is an offset from the original alloca, in bytes that need to be
|
||||
/// Offset is an offset from the original alloca, in bits that need to be
|
||||
/// shifted to the right. By the end of this, there should be no uses of Ptr.
|
||||
Value *SROA::ConvertUsesOfLoadToScalar(LoadInst *LI, AllocaInst *NewAI,
|
||||
uint64_t Offset) {
|
||||
|
Reference in New Issue
Block a user