aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorSanjoy Das <sanjoy@playingwithpointers.com>2015-03-18 00:41:29 +0000
committerSanjoy Das <sanjoy@playingwithpointers.com>2015-03-18 00:41:29 +0000
commitcb8bca177759da7de882dc5f867deb3703f1596f (patch)
treec7fb6d88b324422884be86dd1120bc95b7f102e5 /clang/lib/CodeGen/CodeGenModule.cpp
parent7182d36f660a8cd439b94198316410080070a6af (diff)
downloadllvm-cb8bca177759da7de882dc5f867deb3703f1596f.zip
llvm-cb8bca177759da7de882dc5f867deb3703f1596f.tar.gz
llvm-cb8bca177759da7de882dc5f867deb3703f1596f.tar.bz2
[SCEV] Make isImpliedCond smarter.
Summary: This change teaches isImpliedCond to infer things like "X sgt 0" => "X - 1 sgt -1". The `ConstantRange` class has the logic to do the heavy lifting, this change simply gets ScalarEvolution to exploit that when reasonable. Depends on D8345 Reviewers: atrick Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D8346 llvm-svn: 232576
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions