mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-14 15:57:47 +00:00
[CGP] Enable extending scope of optimizeMemoryInst
This patch enables the folding of address computation in memory instruction in case adress is represented by Phi node. The inputs of Phi node might be different in base register. Differential Revision: https://reviews.llvm.org/D36073 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@317665 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d550a31777
commit
2c8a33ad12
@ -190,7 +190,7 @@ EnableTypePromotionMerge("cgp-type-promotion-merge", cl::Hidden,
|
||||
" the other."), cl::init(true));
|
||||
|
||||
static cl::opt<bool> DisableComplexAddrModes(
|
||||
"disable-complex-addr-modes", cl::Hidden, cl::init(true),
|
||||
"disable-complex-addr-modes", cl::Hidden, cl::init(false),
|
||||
cl::desc("Disables combining addressing modes with different parts "
|
||||
"in optimizeMemoryInst."));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user