diff options
author | Nikita Popov <npopov@redhat.com> | 2024-11-05 10:01:33 +0100 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2024-11-05 10:03:37 +0100 |
commit | 46ccefb1236bf29b2d752715373d407f2d4c3d61 (patch) | |
tree | 45eaa271f4c80eab892f423bf3c47eda30476b40 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | dc62edf10543137fbf7f3d4aaa21c17ff073a8fe (diff) | |
download | llvm-46ccefb1236bf29b2d752715373d407f2d4c3d61.zip llvm-46ccefb1236bf29b2d752715373d407f2d4c3d61.tar.gz llvm-46ccefb1236bf29b2d752715373d407f2d4c3d61.tar.bz2 |
[CVP] Fix APInt ctor assertion with i1 urem
This is creating an APInt with value 2, which may not be well-defined
for i1 values. Fix this by replacing the Y.umul_sat(2) with
Y.uadd_sat(Y).
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions