diff options
author | Jatin Bhateja <jatin.bhateja@gmail.com> | 2017-11-26 02:01:01 +0000 |
---|---|---|
committer | Jatin Bhateja <jatin.bhateja@gmail.com> | 2017-11-26 02:01:01 +0000 |
commit | a1da5e4ce743352b916c4d0378cb945b76c1d22d (patch) | |
tree | cee2b7371fcceddea22cabbe48977b880e4309c4 /llvm/lib/Support/ThreadPool.cpp | |
parent | c4eb50563b57c84edbe091d54999db3725f57903 (diff) | |
download | llvm-a1da5e4ce743352b916c4d0378cb945b76c1d22d.zip llvm-a1da5e4ce743352b916c4d0378cb945b76c1d22d.tar.gz llvm-a1da5e4ce743352b916c4d0378cb945b76c1d22d.tar.bz2 |
[SCEV] NFC : Removing unnecessary check on outgoing branches of a branch instr.
Summary:
For a given loop, getLoopLatch returns a non-null value
when a loop has only one latch block. In the modified
context a check on both the outgoing branches of a terminator instruction (of latch) to same header is redundant.
Reviewers: jbhateja
Reviewed By: jbhateja
Subscribers: sanjoy
Differential Revision: https://reviews.llvm.org/D40460
llvm-svn: 318991
Diffstat (limited to 'llvm/lib/Support/ThreadPool.cpp')
0 files changed, 0 insertions, 0 deletions