CodeGen: increase bits allocated for LegalizeActions
authorTim Northover <tnorthover@apple.com>
Thu, 22 Oct 2015 17:20:48 +0000 (17:20 +0000)
committerTim Northover <tnorthover@apple.com>
Thu, 22 Oct 2015 17:20:48 +0000 (17:20 +0000)
commit73ec7359f7baf3f0aa2e2b65009425dfb988cf65
tree25998a9398d363154c952ebe4d661328977d2644
parented05a5b55487b3e1f32bbb573216d5a5a702fed2
CodeGen: increase bits allocated for LegalizeActions

The array handling CondCodes only allocated 2 bits to describe the
desired action for each type. The new addition of a "LibCall" option
overflowed this and caused corruption for Custom actions.

No in-tree targets have a Custom CondCodeAction, so unfortunately it
can't be tested.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251033 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetLowering.h