aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorAllen <zhongyunde@huawei.com>2023-11-09 12:33:24 +0800
committerGitHub <noreply@github.com>2023-11-09 12:33:24 +0800
commit7ec86f4d680959d790ad001df96e2d6a74f4f036 (patch)
treeaae9f4e518daff1004ccf24b8952eb9d1bcc9f23 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent919f5ef4621edcfd9e9793e1363df53eef3e89d5 (diff)
downloadllvm-7ec86f4d680959d790ad001df96e2d6a74f4f036.zip
llvm-7ec86f4d680959d790ad001df96e2d6a74f4f036.tar.gz
llvm-7ec86f4d680959d790ad001df96e2d6a74f4f036.tar.bz2
[SimplifyCFG] Fix the compile crash for invalid upper bound value (#71351)
Fix the crash for the last land PR70542. Note: For '%add = add nuw i32 %x, 1', we can only infer the LowerBound is 1, but the UpperBound is wrapped to 0 in computeConstantRange. so we can't assume the UpperBound is valid bound when its value is 0. Fix https://github.com/llvm/llvm-project/issues/71329. Reviewed By: zmodem, nikic
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions