[polly] r234266 - Fix polly build after LLVM r234263
Duncan P. N. Exon Smith
dexonsmith at apple.com
Mon Apr 6 17:29:05 PDT 2015
Author: dexonsmith
Date: Mon Apr 6 19:29:05 2015
New Revision: 234266
URL: http://llvm.org/viewvc/llvm-project?rev=234266&view=rev
Log:
Fix polly build after LLVM r234263
Modified:
polly/trunk/lib/Analysis/ScopDetectionDiagnostic.cpp
Modified: polly/trunk/lib/Analysis/ScopDetectionDiagnostic.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/ScopDetectionDiagnostic.cpp?rev=234266&r1=234265&r2=234266&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopDetectionDiagnostic.cpp (original)
+++ polly/trunk/lib/Analysis/ScopDetectionDiagnostic.cpp Mon Apr 6 19:29:05 2015
@@ -72,7 +72,7 @@ void getDebugLocation(const Region *R, u
if (!DL)
continue;
- DIScope Scope(DL.getScope());
+ DIScope Scope = cast<MDScope>(DL.getScope());
if (FileName.empty())
FileName = Scope.getFilename();
More information about the llvm-commits
mailing list