[PATCH] D23036: [SelectionDAG] Use a union of bitfield structs for SDNode::SubclassData.

Akira Hatanaka via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 25 15:54:55 PDT 2016


ahatanak added a comment.

Justin, I have to fix this soon since there is an internal bot that is failing the assert, which I suspect is happening because sizeof(SDNodeBits) returns 1. It doesn't look like the correctness of the code depends on sizeof(SDNodeBits) being equal to sizeof(unit16_t), so I'll just remove the assert or replace "==" with "<=".


Repository:
  rL LLVM

https://reviews.llvm.org/D23036





More information about the llvm-commits mailing list