Skip to content
Snippets Groups Projects
Commit 042a5362 authored by Sanjay Patel's avatar Sanjay Patel
Browse files

[DemandedBits] simplify call; NFC

llvm-svn: 311009
parent c5698bef
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment