[all-commits] [llvm/llvm-project] 6e474d: [GlobalOpt][Evaluator] Fix off by one error in bou...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Wed Jan 5 05:06:17 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6e474d330822ee8784d91a7842bba2e7f70b3b79
https://github.com/llvm/llvm-project/commit/6e474d330822ee8784d91a7842bba2e7f70b3b79
Author: Nikita Popov <npopov at redhat.com>
Date: 2022-01-05 (Wed, 05 Jan 2022)
Changed paths:
M llvm/lib/Transforms/Utils/Evaluator.cpp
A llvm/test/Transforms/GlobalOpt/pr53002.ll
Log Message:
-----------
[GlobalOpt][Evaluator] Fix off by one error in bounds check (PR53002)
We should bail out if the index is >= the size, not > the size.
Fixes https://github.com/llvm/llvm-project/issues/53002.
More information about the All-commits
mailing list