diff options
author | Nikita Popov <npopov@redhat.com> | 2022-11-07 17:02:19 +0100 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2022-11-07 17:04:27 +0100 |
commit | a50c269c7372f5f0373fe3876ed8f8acf0e2f12d (patch) | |
tree | 72a96f9c7ebb46b11b7ed3455affabd81116692d /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 36e8e19337b9a6f47c7f17c849164df47d45fa65 (diff) | |
download | llvm-a50c269c7372f5f0373fe3876ed8f8acf0e2f12d.zip llvm-a50c269c7372f5f0373fe3876ed8f8acf0e2f12d.tar.gz llvm-a50c269c7372f5f0373fe3876ed8f8acf0e2f12d.tar.bz2 |
[InstCombine] Handle load smaller than one byte in memset forward
APInt::getSplat() requires that the new size is >= the original
one. If we're loading less than 8 bits, truncate instead.
Fixes https://github.com/llvm/llvm-project/issues/58845.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions