summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2017-08-16 14:28:23 +0000
committerSanjay Patel <spatel@rotateright.com>2017-08-16 14:28:23 +0000
commit042a53624c12263b5535af5c18271387b30422e9 (patch)
treeed6ac30aeb1d0c43902f9229f5ace680de3f5a3a /llvm/lib/Analysis
parentc5698befb6104a6a98dafaeaae191739b84f8973 (diff)
downloadbcm5719-llvm-042a53624c12263b5535af5c18271387b30422e9.tar.gz
bcm5719-llvm-042a53624c12263b5535af5c18271387b30422e9.zip
[DemandedBits] simplify call; NFC
llvm-svn: 311009
Diffstat (limited to 'llvm/lib/Analysis')
-rw-r--r--llvm/lib/Analysis/DemandedBits.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/DemandedBits.cpp b/llvm/lib/Analysis/DemandedBits.cpp
index 7e6d6b01a35..7276f2524fe 100644
--- a/llvm/lib/Analysis/DemandedBits.cpp
+++ b/llvm/lib/Analysis/DemandedBits.cpp
@@ -368,7 +368,7 @@ void DemandedBits::performAnalysis() {
APInt DemandedBits::getDemandedBits(Instruction *I) {
performAnalysis();
- const DataLayout &DL = I->getParent()->getModule()->getDataLayout();
+ const DataLayout &DL = I->getModule()->getDataLayout();
auto Found = AliveBits.find(I);
if (Found != AliveBits.end())
return Found->second;
OpenPOWER on IntegriCloud