CallInst can have side effects. Move the check of CallInst earlier to skip AddCostRecursively.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D23611
[LoopUnroll] Move a simple check earlier. NFC. ClosedPublic Authored by haicheng on Aug 17 2016, 8:52 AM.
Details Summary CallInst can have side effects. Move the check of CallInst earlier to skip AddCostRecursively.
Diff Detail
Event Timelinehaicheng updated this object. This revision is now accepted and ready to land.Aug 17 2016, 9:12 AM Closed by commit rL278998: [LoopUnroll] Move a simple check earlier. NFC. (authored by haicheng). · Explain WhyAug 17 2016, 3:50 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 68441 llvm/trunk/lib/Transforms/Scalar/LoopUnrollPass.cpp
|