Expand the capabilities of the code for computing how many peels are
needed to make phis determined. A cast gets the peel count for the
value being casted while a binary op gets the maximum of the operands.
Details
Details
- Reviewers
mkazantsev - Group Reviewers
Restricted Project - Commits
- rG2b6683fd5f74: Expand loop peeling phi computation to handle binary ops and casts
Diff Detail
Diff Detail
Unit Tests
Unit Tests
Time | Test | |
---|---|---|
60,030 ms | x64 debian > libFuzzer.libFuzzer::minimize_crash.test |
Event Timeline
llvm/lib/Transforms/Utils/LoopPeel.cpp | ||
---|---|---|
236 | I think these asserts are not needed since BinaryOp and CmpInst will always have 2 operands. Same for the assert below with the cast instruction. |
I think these asserts are not needed since BinaryOp and CmpInst will always have 2 operands. Same for the assert below with the cast instruction.