diff options
| author | Xin Tong <trent.xin.tong@gmail.com> | 2017-04-23 20:56:29 +0000 |
|---|---|---|
| committer | Xin Tong <trent.xin.tong@gmail.com> | 2017-04-23 20:56:29 +0000 |
| commit | f98602a1abe1c40921c8b67627b43cce36550b2f (patch) | |
| tree | 257682987f7aa5f1200c3c344ccb7f0000253812 /llvm/lib/Target/XCore/XCoreMachineFunctionInfo.cpp | |
| parent | 1d2169e2ee40011489c0660452188c288a9d2e39 (diff) | |
| download | bcm5719-llvm-f98602a1abe1c40921c8b67627b43cce36550b2f.tar.gz bcm5719-llvm-f98602a1abe1c40921c8b67627b43cce36550b2f.zip | |
[JumpThread] We want to fold (not thread) when all predecessor go to single BB's successor.
Summary:
In case all predecessor go to a single successor of current BB. We want to fold (not thread).
I failed to update the phi nodes properly in the last patch https://reviews.llvm.org/rL300657.
Phi nodes values are per predecessor in LLVM.
Reviewers: sanjoy
Reviewed By: sanjoy
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D32400
llvm-svn: 301139
Diffstat (limited to 'llvm/lib/Target/XCore/XCoreMachineFunctionInfo.cpp')
0 files changed, 0 insertions, 0 deletions

