mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-27 15:41:46 +00:00
[polly] Fix "no member named 'getIndexExpressionsFromGEP'"
As of 741fabc222f226d34d806056b804244b012853b, polly builders are failing from this error. The signiature is slightly different and accepts a ScalarEvolution reference instead. This should fix the polly builders.
This commit is contained in:
parent
883e93cb28
commit
9da62d3ed9
@ -30,6 +30,7 @@
|
||||
#include "llvm/ADT/Statistic.h"
|
||||
#include "llvm/Analysis/AliasAnalysis.h"
|
||||
#include "llvm/Analysis/AssumptionCache.h"
|
||||
#include "llvm/Analysis/Delinearization.h"
|
||||
#include "llvm/Analysis/Loads.h"
|
||||
#include "llvm/Analysis/LoopInfo.h"
|
||||
#include "llvm/Analysis/OptimizationRemarkEmitter.h"
|
||||
@ -1658,7 +1659,7 @@ bool ScopBuilder::buildAccessMultiDimFixed(MemAccInst Inst, ScopStmt *Stmt) {
|
||||
|
||||
SmallVector<const SCEV *, 4> Subscripts;
|
||||
SmallVector<int, 4> Sizes;
|
||||
SE.getIndexExpressionsFromGEP(GEP, Subscripts, Sizes);
|
||||
getIndexExpressionsFromGEP(SE, GEP, Subscripts, Sizes);
|
||||
auto *BasePtr = GEP->getOperand(0);
|
||||
|
||||
if (auto *BasePtrCast = dyn_cast<BitCastInst>(BasePtr))
|
||||
|
Loading…
Reference in New Issue
Block a user