From 6c7276f17eca3dcbceed46dc70a833153cfc581f Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 22 Nov 2009 16:16:48 +0000 Subject: [PATCH] add fixme for dubious code. Duncan, what do you think? git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89602 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/BasicAliasAnalysis.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Analysis/BasicAliasAnalysis.cpp b/lib/Analysis/BasicAliasAnalysis.cpp index 45f5d40bd70..d366a50274a 100644 --- a/lib/Analysis/BasicAliasAnalysis.cpp +++ b/lib/Analysis/BasicAliasAnalysis.cpp @@ -263,6 +263,7 @@ ImmutablePass *llvm::createBasicAliasAnalysisPass() { bool BasicAliasAnalysis::pointsToConstantMemory(const Value *P) { if (const GlobalVariable *GV = dyn_cast(P->getUnderlyingObject())) + // FIXME: shouldn't this require GV to be "ODR"? return GV->isConstant(); return false; }