summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--polly/include/polly/Support/ScopHelper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/polly/include/polly/Support/ScopHelper.h b/polly/include/polly/Support/ScopHelper.h
index 7cd23c86a59..b1657f6af88 100644
--- a/polly/include/polly/Support/ScopHelper.h
+++ b/polly/include/polly/Support/ScopHelper.h
@@ -178,7 +178,7 @@ public:
if (isStore())
return asStore()->getPointerOperand();
if (isMemIntrinsic())
- return asMemIntrinsic()->getDest();
+ return asMemIntrinsic()->getRawDest();
if (isCallInst())
return nullptr;
llvm_unreachable("Operation not supported on nullptr");
OpenPOWER on IntegriCloud