diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2016-07-27 10:30:55 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2016-07-27 10:30:55 +0000 |
commit | 10bf0ff879fac0fb02f33907385e969acb9b1f24 (patch) | |
tree | ff4d452d5a047e15132f3f1c828bcc8447b0977f /clang/lib/Tooling/CompilationDatabase.cpp | |
parent | 31343832e708c5db2fc7bfc562d343dcee8f156b (diff) | |
download | llvm-10bf0ff879fac0fb02f33907385e969acb9b1f24.zip llvm-10bf0ff879fac0fb02f33907385e969acb9b1f24.tar.gz llvm-10bf0ff879fac0fb02f33907385e969acb9b1f24.tar.bz2 |
[DAGCombiner] Use APInt directly to detect out of range shift constants
Using getZExtValue() will assert if the value doesn't fit into uint64_t - SHL was already doing this, I've just updated ASHR/LSHR to match
As mentioned on D22726
llvm-svn: 276855
Diffstat (limited to 'clang/lib/Tooling/CompilationDatabase.cpp')
0 files changed, 0 insertions, 0 deletions