mirror of
https://github.com/RPCS3/llvm.git
synced 2025-03-03 16:18:37 +00:00
[DemandedBits] simplify call; NFC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@311009 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
edd00a7e54
commit
77622085e7
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user