summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-12-09 07:26:04 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-12-09 07:26:04 +0000
commitfd8eca202f517a65f9668990ecdc9c710406ff9e (patch)
tree25bce937775d30df4f2ffe721f72f8a01e0fb0bb /llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
parent0db1ea5f686068114324fff222fd6b2d39e8ae55 (diff)
downloadbcm5719-llvm-fd8eca202f517a65f9668990ecdc9c710406ff9e.tar.gz
bcm5719-llvm-fd8eca202f517a65f9668990ecdc9c710406ff9e.zip
Fix the bitfield record layout in codegen for big endian targets.
This was an egregious bug due to the several iterations of refactorings that took place. Size no longer meant what it original did by the time I finished, but this line of code never got updated. Unfortunately we had essentially zero tests for this in the regression test suite. =[ I've added a PPC64 run over the bitfield test case I've been primarily using. I'm still looking at adding more tests and making sure this is the *correct* bitfield access code on PPC64 linux, but it looks pretty close to me, and it is *worlds* better than before this patch as it no longer asserts! =] More commits to follow with at least additional tests and maybe more fixes. Sorry for the long breakage due to this.... llvm-svn: 169691
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud