File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
llvm/lib/Transforms/Instrumentation Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4660,8 +4660,8 @@ struct MemorySanitizerVisitor : public InstVisitor<MemorySanitizerVisitor> {
46604660 // PMOV truncates; PMOVS/PMOVUS uses signed/unsigned saturation.
46614661 // This handler treats them all as truncation, which leads to some rare
46624662 // false positives in the cases where the truncated bytes could
4663- // unambiguously saturate the value e.g., if A = 10 ?????? ????????
4664- // (big-endian), the unsigned saturated byte conversion is 1111111 i.e.,
4663+ // unambiguously saturate the value e.g., if A = ??????10 ????????
4664+ // (big-endian), the unsigned saturated byte conversion is 11111111 i.e.,
46654665 // fully defined, but the truncated byte is ????????.
46664666 //
46674667 // TODO: use GetMinMaxUnsigned() to handle saturation precisely.
You can’t perform that action at this time.
0 commit comments