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.
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Please add a test case. In the test please comment that you're just making sure the code doesn't assert.
Chad