diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2016-09-13 18:33:29 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2016-09-13 18:33:29 +0000 |
commit | 4a8eba3e96d9b5b4366002acd717912800d9c11b (patch) | |
tree | 18053ecf819ff841c91d7343fc0f486b0647a37e /llvm/lib/CodeGen/MachineInstr.cpp | |
parent | e204c48d164d0148a008b3f97bdcc5ccaa3d7d39 (diff) | |
download | llvm-4a8eba3e96d9b5b4366002acd717912800d9c11b.zip llvm-4a8eba3e96d9b5b4366002acd717912800d9c11b.tar.gz llvm-4a8eba3e96d9b5b4366002acd717912800d9c11b.tar.bz2 |
[DAGCombiner] Use APInt directly in (shl (zext (srl x, C)), C) combine range test
To avoid assertion, we must ensure that the inner shift constant is within range before calling ConstantSDNode::getZExtValue(). We already know that the outer shift constant is in range.
Followup to D23007
llvm-svn: 281362
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions