aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2022-11-11 17:27:31 +0100
committerNikita Popov <npopov@redhat.com>2022-11-14 10:44:16 +0100
commite82b5b5bbd1a97c289988a9bf2007511d35eb5cf (patch)
treefbb9316dfa52ff90983bbfdc2a1aceb2b4e625d5 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent30982a595da66c4224ca0c2601fbad16ce75a78a (diff)
downloadllvm-e82b5b5bbd1a97c289988a9bf2007511d35eb5cf.zip
llvm-e82b5b5bbd1a97c289988a9bf2007511d35eb5cf.tar.gz
llvm-e82b5b5bbd1a97c289988a9bf2007511d35eb5cf.tar.bz2
[ConstraintElimination] Add Decomposition struct (NFCI)
Replace the vector of DecompEntry with a struct that stores the constant offset separately. I think this is cleaner than giving the first element special handling. This probably also fixes some potential ubsan errors by more consistently using addWithOverflow/multiplyWithOverflow.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions