diff options
| author | Sanjoy Das <sanjoy@playingwithpointers.com> | 2015-01-27 21:38:12 +0000 |
|---|---|---|
| committer | Sanjoy Das <sanjoy@playingwithpointers.com> | 2015-01-27 21:38:12 +0000 |
| commit | dcf2651043caef440b8b542ba5f6945916a96b72 (patch) | |
| tree | e2c7541f244ae4491aaa4e41cbb17807ad167a9d /llvm/test/Transforms/LoopVectorize/conditional-assignment.ll | |
| parent | 533948088e4aa8c433827a23dcfd522b800d892f (diff) | |
| download | bcm5719-llvm-dcf2651043caef440b8b542ba5f6945916a96b72.tar.gz bcm5719-llvm-dcf2651043caef440b8b542ba5f6945916a96b72.zip | |
Teach IRCE to look at branch weights when recognizing range checks
Splitting a loop to make range checks redundant is profitable only if
the range check "never" fails. Make this fact a part of recognizing a
range check -- a branch is a range check only if it is expected to
pass (via branch_weights metadata).
Differential Revision: http://reviews.llvm.org/D7192
llvm-svn: 227249
Diffstat (limited to 'llvm/test/Transforms/LoopVectorize/conditional-assignment.ll')
0 files changed, 0 insertions, 0 deletions

