diff options
author | Sean Callanan <scallanan@apple.com> | 2012-12-05 23:37:14 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2012-12-05 23:37:14 +0000 |
commit | faa0bb3fa1ec71cf5edbad4e8da42dafbcf936bd (patch) | |
tree | 1035bf36c7c2eaa8e211d7d50befd059dd558988 /llvm/lib/CodeGen/MachineModuleInfo.cpp | |
parent | 95cd27265e42d2fee15ff6c6c4e2d6c1f0042c6b (diff) | |
download | llvm-faa0bb3fa1ec71cf5edbad4e8da42dafbcf936bd.zip llvm-faa0bb3fa1ec71cf5edbad4e8da42dafbcf936bd.tar.gz llvm-faa0bb3fa1ec71cf5edbad4e8da42dafbcf936bd.tar.bz2 |
Rewrote the bitfield logic. Major changes include:
- Removed the BitfieldMap class because it is unnecessary.
We now just track the most recently added field.
- Moved the code that calculates bitfield widths so it
can also be used to determine whether it's necessary
to insert anonymous fields.
- Simplified the anonymous field calculation code into
three cases (two of which are resolved identically).
- Beefed up the bitfield testcase.
llvm-svn: 169449
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions