diff options
author | Roland McGrath <mcgrathr@google.com> | 2020-09-19 11:44:39 -0700 |
---|---|---|
committer | Roland McGrath <mcgrathr@google.com> | 2020-09-19 12:28:00 -0700 |
commit | f5fa5b9fe3b02f26b38612f96cba19aceccbc2a3 (patch) | |
tree | ac7261d234fbf6ed9e9419f4bda33e4693e23529 /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | a2f9098f7ab67f44246b412771b0003901138b5d (diff) | |
download | llvm-f5fa5b9fe3b02f26b38612f96cba19aceccbc2a3.zip llvm-f5fa5b9fe3b02f26b38612f96cba19aceccbc2a3.tar.gz llvm-f5fa5b9fe3b02f26b38612f96cba19aceccbc2a3.tar.bz2 |
[scudo/standalone] Fix undefined behavior in checksum test
1U has type unsigned int, and << of 32 or more is undefined behavior.
Use the proper type in the lhs of the shift.
Reviewed By: cryptoad
Differential Revision: https://reviews.llvm.org/D87973
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions