mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-15 01:37:53 +00:00
Add braces around an array initializer.
llvm-svn: 72453
This commit is contained in:
parent
0124c21ba0
commit
491de1fe7e
@ -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