mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-17 06:33:21 +00:00
Fix typo in comment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16384 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
298d6c14ca
commit
ebeb0cba94
@ -9,7 +9,7 @@
|
|||||||
//
|
//
|
||||||
// This pass promotes "by reference" arguments to be "by value" arguments. In
|
// This pass promotes "by reference" arguments to be "by value" arguments. In
|
||||||
// practice, this means looking for internal functions that have pointer
|
// practice, this means looking for internal functions that have pointer
|
||||||
// arguments. If we can prove, through the use of alias analysis, that that an
|
// arguments. If we can prove, through the use of alias analysis, that an
|
||||||
// argument is *only* loaded, then we can pass the value into the function
|
// argument is *only* loaded, then we can pass the value into the function
|
||||||
// instead of the address of the value. This can cause recursive simplification
|
// instead of the address of the value. This can cause recursive simplification
|
||||||
// of code and lead to the elimination of allocas (especially in C++ template
|
// of code and lead to the elimination of allocas (especially in C++ template
|
||||||
|
Loading…
x
Reference in New Issue
Block a user