Found by PVS-Studio - https://pvs-studio.com/en/blog/posts/cpp/1003/, N18.
The value of the 'sourceDim' index is checked after it was used.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D142312
[MLIR][NFC] Fix a checked after used case in ReshapeOpsUtils.cpp ClosedPublic Authored by xgupta on Jan 22 2023, 9:54 AM.
Details Summary Found by PVS-Studio - https://pvs-studio.com/en/blog/posts/cpp/1003/, N18.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jan 26 2023, 9:20 AM Closed by commit rGded3644a3f8e: [MLIR][NFC] Fix a checked after used case in ReshapeOpsUtils.cpp (authored by xgupta). · Explain WhyJan 26 2023, 9:21 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 492484 mlir/lib/Dialect/Utils/ReshapeOpsUtils.cpp
|