diff options
author | Shivam Gupta <shivam98.tkg@gmail.com> | 2023-01-26 22:51:44 +0530 |
---|---|---|
committer | Shivam Gupta <shivam98.tkg@gmail.com> | 2023-01-26 22:51:51 +0530 |
commit | ded3644a3f8ef5c34a956267004bdd6e936bae18 (patch) | |
tree | 1eb3de84e5ae6107098d5ca33170abba2db03ea1 /llvm/unittests/Support/MathExtrasTest.cpp | |
parent | 77f4c91c5e052f43245555fffbb0649191e3e32f (diff) | |
download | llvm-ded3644a3f8ef5c34a956267004bdd6e936bae18.zip llvm-ded3644a3f8ef5c34a956267004bdd6e936bae18.tar.gz llvm-ded3644a3f8ef5c34a956267004bdd6e936bae18.tar.bz2 |
[MLIR][NFC] Fix a checked after used case in ReshapeOpsUtils.cpp
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.
Reviewed By: zero9178
Differential Revision: https://reviews.llvm.org/D142312
Diffstat (limited to 'llvm/unittests/Support/MathExtrasTest.cpp')
0 files changed, 0 insertions, 0 deletions