aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2024-11-05 10:01:33 +0100
committerNikita Popov <npopov@redhat.com>2024-11-05 10:03:37 +0100
commit46ccefb1236bf29b2d752715373d407f2d4c3d61 (patch)
tree45eaa271f4c80eab892f423bf3c47eda30476b40 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentdc62edf10543137fbf7f3d4aaa21c17ff073a8fe (diff)
downloadllvm-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