DAGCombine: clamp hi bit in APInt::getBitsSet to avoid assertion
authorManman Ren <mren@apple.com>
Wed, 12 Dec 2012 01:13:50 +0000 (01:13 +0000)
committerManman Ren <mren@apple.com>
Wed, 12 Dec 2012 01:13:50 +0000 (01:13 +0000)
commit981b96376a99dacced70cc9b1e870968f426331a
tree6011dae8be083f85a26ea8b257e1ca124321a25d
parent5da804150d418b8b4956b84013f8f67df553c543
DAGCombine: clamp hi bit in APInt::getBitsSet to avoid assertion

rdar://12838504

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169951 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/X86/store_op_load_fold.ll