summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/aggregate-initialization.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2016-09-13 18:33:29 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2016-09-13 18:33:29 +0000
commit4a8eba3e96d9b5b4366002acd717912800d9c11b (patch)
tree18053ecf819ff841c91d7343fc0f486b0647a37e /clang/test/SemaCXX/aggregate-initialization.cpp
parente204c48d164d0148a008b3f97bdcc5ccaa3d7d39 (diff)
downloadbcm5719-llvm-4a8eba3e96d9b5b4366002acd717912800d9c11b.tar.gz
bcm5719-llvm-4a8eba3e96d9b5b4366002acd717912800d9c11b.zip
[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 'clang/test/SemaCXX/aggregate-initialization.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud