We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9372e1a commit 53f3084Copy full SHA for 53f3084
llvm/lib/Target/DirectX/DXILWriter/DXILBitcodeWriter.cpp
@@ -1348,7 +1348,7 @@ void DXILBitcodeWriter::writeValueAsMetadata(
1348
Ty = TypedPointerType::get(F->getFunctionType(), F->getAddressSpace());
1349
else if (GlobalVariable *GV = dyn_cast<GlobalVariable>(V))
1350
Ty = TypedPointerType::get(GV->getValueType(), GV->getAddressSpace());
1351
- Record.push_back(getTypeID(Ty));
+ Record.push_back(getTypeID(Ty, V));
1352
Record.push_back(VE.getValueID(V));
1353
Stream.EmitRecord(bitc::METADATA_VALUE, Record, 0);
1354
Record.clear();
0 commit comments