mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-21 03:05:26 -04:00
Remove the ScalarReplAggregates pass
Nearly all the changes to this pass have been done while maintaining and updating other parts of LLVM. LLVM has had another pass, SROA, which has superseded ScalarReplAggregates for quite some time. Differential Revision: http://reviews.llvm.org/D21316 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@272737 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -224,7 +224,7 @@ variables in certain circumstances:
|
||||
class <../LangRef.html#first-class-types>`_ values (such as pointers,
|
||||
scalars and vectors), and only if the array size of the allocation is
|
||||
1 (or missing in the .ll file). mem2reg is not capable of promoting
|
||||
structs or arrays to registers. Note that the "scalarrepl" pass is
|
||||
structs or arrays to registers. Note that the "sroa" pass is
|
||||
more powerful and can promote structs, "unions", and arrays in many
|
||||
cases.
|
||||
|
||||
|
||||
@@ -224,7 +224,7 @@ variables in certain circumstances:
|
||||
class <../LangRef.html#first-class-types>`_ values (such as pointers,
|
||||
scalars and vectors), and only if the array size of the allocation is
|
||||
1 (or missing in the .ll file). mem2reg is not capable of promoting
|
||||
structs or arrays to registers. Note that the "scalarrepl" pass is
|
||||
structs or arrays to registers. Note that the "sroa" pass is
|
||||
more powerful and can promote structs, "unions", and arrays in many
|
||||
cases.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user