[polly] r263538 - MemAccInt: Do not strip pointer casts

Tobias Grosser via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 14 23:35:08 PDT 2016

Author: grosser
Date: Tue Mar 15 01:35:08 2016
New Revision: 263538

URL: http://llvm.org/viewvc/llvm-project?rev=263538&view=rev
MemAccInt: Do not strip pointer casts

This mirrors:

commit  https://llvm.org/svn/llvm-project/llvm/trunk@263462
Author: Michael Kuperstein <michael.kuperstein at gmail.com>
Date:   Mon Mar 14 18:34:29 2016 +0000

    [AliasSetTracker] Do not strip pointer casts when processing MemSetInst

and fixes the failure the above commit triggered in Polly.


Modified: polly/trunk/include/polly/Support/ScopHelper.h
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/include/polly/Support/ScopHelper.h?rev=263538&r1=263537&r2=263538&view=diff
--- polly/trunk/include/polly/Support/ScopHelper.h (original)
+++ polly/trunk/include/polly/Support/ScopHelper.h Tue Mar 15 01:35:08 2016
@@ -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");

More information about the llvm-commits mailing list