mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-25 04:35:32 -04:00
[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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252644 91177308-0d34-0410-b5e6-96231b3b80d8
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