[OperandBundles] Identify operand bundles with both their names and IDs
No code uses this functionality yet. This change just exposes information / structure that was already present. llvm-svn: 252644
This commit is contained in:
@@ -1739,7 +1739,7 @@ static void WriteOperandBundles(BitstreamWriter &Stream, ImmutableCallSite CS,
|
||||
|
||||
for (unsigned i = 0, e = CS.getNumOperandBundles(); i != e; ++i) {
|
||||
const auto &Bundle = CS.getOperandBundleAt(i);
|
||||
Record.push_back(C.getOperandBundleTagID(Bundle.Tag));
|
||||
Record.push_back(C.getOperandBundleTagID(Bundle.getTagName()));
|
||||
|
||||
for (auto &Input : Bundle.Inputs)
|
||||
PushValueAndType(Input, InstID, Record, VE);
|
||||
|
||||
Reference in New Issue
Block a user