Skip to content

Commit 28350b2

Browse files
author
joaosaffran
committed
fix issue
1 parent 8f40e83 commit 28350b2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

llvm/lib/Target/DirectX/DXContainerGlobals.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,11 +160,9 @@ void DXContainerGlobals::addRootSignature(Module &M,
160160

161161
assert(MMI.EntryPropertyVec.size() == 1);
162162

163-
auto &RSA = getAnalysis<RootSignatureAnalysisWrapper>().getRSInfo();
164163
auto &RSA = getAnalysis<RootSignatureAnalysisWrapper>().getRSInfo();
165164
const Function *EntryFunction = MMI.EntryPropertyVec[0].Entry;
166165
const auto &RS = RSA.getDescForFunction(EntryFunction);
167-
const auto &RS = RSA.getDescForFunction(EntryFunction);
168166

169167
if (!RS)
170168
return;

0 commit comments

Comments
 (0)