]> granicus.if.org Git - clang/commit
Revert "CodeGen: When bitfields fall on natural boundaries, split them up"
authorJustin Bogner <mail@justinbogner.com>
Thu, 14 Aug 2014 15:44:29 +0000 (15:44 +0000)
committerJustin Bogner <mail@justinbogner.com>
Thu, 14 Aug 2014 15:44:29 +0000 (15:44 +0000)
commitfccd6cc416ec3b1272dee2b63f731186413fa5ca
tree0ac8a0120d0e87c317c76536dd52a92ac7ffc8d6
parent7e5485ce097a9ff4b529b829ab8c3d6e3738c3b6
Revert "CodeGen: When bitfields fall on natural boundaries, split them up"

It fits better with LLVM's memory model to try to do this in the
backend. Specifically, narrowing wide loads in the backends should be
relatively straightforward and is generally valuable, whereas widening
loads tends to be very constrained.

Discussion here:

  http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20140811/112581.html

This reverts commit r215614.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@215648 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGRecordLayoutBuilder.cpp
test/CodeGen/bitfield-machinewords.c [deleted file]