mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-31 17:42:40 +00:00
Add braces around an array initializer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72453 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4a4f767235
commit
f1a80489d6
@ -458,7 +458,7 @@ Value *SCEVExpander::visitAddRecExpr(const SCEVAddRecExpr *S) {
|
||||
// comments on expandAddToGEP for details.
|
||||
if (SE.TD) {
|
||||
SCEVHandle Base = S->getStart();
|
||||
SCEVHandle RestArray[1] = Rest;
|
||||
SCEVHandle RestArray[1] = { Rest };
|
||||
// Dig into the expression to find the pointer base for a GEP.
|
||||
ExposePointerBase(Base, RestArray[0], SE);
|
||||
// If we found a pointer, expand the AddRec with a GEP.
|
||||
|
Loading…
x
Reference in New Issue
Block a user