commit | b21e2903efbfb66ec2a0d7731bc826496ba89d8e | [log] [tgz] |
---|---|---|
author | Haicheng Wu <haicheng@codeaurora.org> | Mon Feb 08 17:00:39 2016 +0000 |
committer | Haicheng Wu <haicheng@codeaurora.org> | Mon Feb 08 17:00:39 2016 +0000 |
tree | 37150bcb009f5d2bd896b8b853652bf196eb1350 | |
parent | 98d69cc318b5ae607b923cf0fb4d6b1c8175fdff [diff] |
[JumpThreading] Change a return of ComputeValueKnownInPredecessors() Change a return statement of ComputeValueKnownInPredecessors() to be the same as the rest return statements of the function. Otherwise, it might return true with an empty Result when the current basic block has no predecessors and trigger the first assert of JumpThreading::ProcessThreadableEdges(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@260110 91177308-0d34-0410-b5e6-96231b3b80d8