Right shift can occur that is a 32-bit right shift. This is undefined behavior.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D117732
[mlir][tosa] Limit right-shift to 31 bits ClosedPublic Authored by rsuderman on Jan 19 2022, 4:33 PM.
Details
Summary Right shift can occur that is a 32-bit right shift. This is undefined behavior.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jan 19 2022, 4:45 PM Closed by commit rGcd2d7369639e: [mlir][tosa] Limit right-shift to 31 bits (authored by rsuderman). · Explain WhyJan 20 2022, 2:42 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 401442 mlir/lib/Dialect/Tosa/Utils/QuantUtils.cpp
|